home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-12-16 | 74.8 KB | [TEXT/QEdt] |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: QuoEdit 0.71 Scripting Guide
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sat Dec 16 17:15:41 2000, modified Sat Dec 16 17:15:41 2000, creator 'QEdt', type ASCII, 75985 bytes "QuoEdit 0.71 Scripting Guide" , at 0x12951 358 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| SpeedScript document (C64)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [QEdt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1c 51 75 6f 45 64 69 | 74 20 30 2e 37 31 20 53 |..QuoEdi|t 0.71 S|
|00000010| 63 72 69 70 74 69 6e 67 | 20 47 75 69 64 65 00 00 |cripting| Guide..|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 51 45 64 | 74 01 00 00 00 00 00 00 |.TEXTQEd|t.......|
|00000050| 00 00 00 00 01 28 d1 00 | 00 01 66 b6 61 9a 0d b6 |.....(..|..f.a...|
|00000060| 61 9a 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ba 99 00 00 |........|........|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 0d 09 09 09 09 53 63 72 | 69 70 74 69 6e 67 20 47 |.....Scr|ipting G|
|000000d0| 75 69 64 65 20 66 6f 72 | 20 51 75 6f 45 64 69 74 |uide for| QuoEdit|
|000000e0| 20 20 76 65 72 73 69 6f | 6e 20 30 2e 37 31 0d 3d | versio|n 0.71.=|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000110| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000120| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|00000130| 0d 0d 0d a5 31 20 20 49 | 6e 74 72 6f 64 75 63 74 |....1 I|ntroduct|
|00000140| 69 6f 6e 0d 57 68 61 74 | 20 69 73 20 41 70 70 6c |ion.What| is Appl|
|00000150| 65 53 63 72 69 70 74 3f | 20 d1 20 41 6e 20 69 6e |eScript?| . An in|
|00000160| 63 72 65 64 69 62 6c 79 | 20 75 73 65 66 75 6c 20 |credibly| useful |
|00000170| 73 74 75 66 66 20 74 68 | 61 74 20 6d 61 6b 65 73 |stuff th|at makes|
|00000180| 20 76 61 72 69 6f 75 73 | 20 74 61 73 6b 73 20 61 | various| tasks a|
|00000190| 75 74 6f 6d 61 74 65 64 | 20 62 65 79 6f 6e 64 20 |utomated| beyond |
|000001a0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2e 0d 57 68 |applicat|ions..Wh|
|000001b0| 65 72 65 20 69 73 20 69 | 74 3f 20 d1 20 49 6e 63 |ere is i|t? . Inc|
|000001c0| 6c 75 64 65 64 20 69 6e | 20 79 6f 75 72 20 4d 61 |luded in| your Ma|
|000001d0| 63 69 6e 74 6f 73 68 21 | 0d 51 75 6f 45 64 69 74 |cintosh!|.QuoEdit|
|000001e0| 20 73 75 70 70 6f 72 74 | 73 20 41 70 70 6c 65 53 | support|s AppleS|
|000001f0| 63 72 69 70 74 20 70 6f | 77 65 72 66 75 6c 6c 79 |cript po|werfully|
|00000200| 2e 20 49 74 20 69 73 20 | 73 63 72 69 70 74 61 62 |. It is |scriptab|
|00000210| 6c 65 20 61 6e 64 20 72 | 65 63 6f 72 64 61 62 6c |le and r|ecordabl|
|00000220| 65 20 66 6f 72 20 61 6c | 6d 6f 73 74 20 65 76 65 |e for al|most eve|
|00000230| 72 79 20 74 61 73 6b 20 | 65 78 63 65 70 74 20 70 |ry task |except p|
|00000240| 61 72 74 69 61 6c 20 6d | 6f 75 73 65 20 6f 70 65 |artial m|ouse ope|
|00000250| 72 61 74 69 6f 6e 20 6c | 69 6b 65 20 64 72 61 67 |ration l|ike drag|
|00000260| 20 61 6e 64 20 64 72 6f | 70 2e 20 41 6e 64 20 61 | and dro|p. And a|
|00000270| 6c 73 6f 20 61 74 74 61 | 63 68 61 62 6c 65 20 69 |lso atta|chable i|
|00000280| 6e 20 73 65 76 65 72 61 | 6c 20 77 61 79 73 2e 0d |n severa|l ways..|
|00000290| 0d 49 20 61 6d 20 73 6f | 72 72 79 20 74 68 61 74 |.I am so|rry that|
|000002a0| 20 74 68 69 73 20 53 63 | 72 69 70 74 69 6e 67 20 | this Sc|ripting |
|000002b0| 47 75 69 64 65 20 64 6f | 65 73 20 6e 6f 74 20 64 |Guide do|es not d|
|000002c0| 65 73 63 72 69 62 65 20 | 41 70 70 6c 65 53 63 72 |escribe |AppleScr|
|000002d0| 69 70 74 20 6c 61 6e 67 | 75 61 67 65 20 73 70 65 |ipt lang|uage spe|
|000002e0| 63 69 66 69 63 61 74 69 | 6f 6e 73 20 6e 6f 72 20 |cificati|ons nor |
|000002f0| 74 68 65 20 75 73 61 67 | 65 20 62 75 74 20 74 68 |the usag|e but th|
|00000300| 69 6e 67 73 20 73 70 65 | 63 69 66 69 63 20 74 6f |ings spe|cific to|
|00000310| 20 51 75 6f 45 64 69 74 | 2e 20 50 6c 65 61 73 65 | QuoEdit|. Please|
|00000320| 20 72 65 66 65 72 20 74 | 6f 20 6f 6e 6c 69 6e 65 | refer t|o online|
|00000330| 20 68 65 6c 70 2c 20 64 | 6f 63 75 6d 65 6e 74 61 | help, d|ocumenta|
|00000340| 74 69 6f 6e 73 20 6f 72 | 20 62 6f 6f 6b 73 20 6f |tions or| books o|
|00000350| 6e 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 69 66 |n AppleS|cript if|
|00000360| 20 79 6f 75 20 66 65 65 | 6c 20 6e 65 63 65 73 73 | you fee|l necess|
|00000370| 61 72 79 2e 0d 0d 49 66 | 20 79 6f 75 20 61 72 65 |ary...If| you are|
|00000380| 20 63 75 72 72 65 6e 74 | 6c 79 20 75 6e 66 61 6d | current|ly unfam|
|00000390| 69 6c 69 61 72 20 77 69 | 74 68 20 73 63 72 69 70 |iliar wi|th scrip|
|000003a0| 74 69 6e 67 2c 20 6d 61 | 6e 79 20 70 61 72 74 73 |ting, ma|ny parts|
|000003b0| 20 6f 66 20 74 68 69 73 | 20 64 6f 63 75 6d 65 6e | of this| documen|
|000003c0| 74 61 74 69 6f 6e 20 6d | 69 67 68 74 20 70 75 74 |tation m|ight put|
|000003d0| 20 79 6f 75 20 61 74 20 | 64 69 66 66 69 63 75 6c | you at |difficul|
|000003e0| 74 79 2e 20 49 66 20 73 | 6f 2c 20 6a 75 73 74 20 |ty. If s|o, just |
|000003f0| 62 65 67 69 6e 20 77 69 | 74 68 20 77 68 61 74 20 |begin wi|th what |
|00000400| 79 6f 75 20 63 61 6e 2e | 20 55 73 69 6e 67 20 65 |you can.| Using e|
|00000410| 78 69 73 74 69 6e 67 20 | 73 63 72 69 70 74 73 20 |xisting |scripts |
|00000420| 6f 72 20 72 65 63 6f 72 | 64 69 6e 67 20 61 6e 64 |or recor|ding and|
|00000430| 20 72 65 70 6c 61 79 69 | 6e 67 20 79 6f 75 72 20 | replayi|ng your |
|00000440| 74 61 73 6b 73 20 77 69 | 74 68 20 73 63 72 69 70 |tasks wi|th scrip|
|00000450| 74 73 20 61 72 65 20 6d | 75 63 68 20 65 61 73 69 |ts are m|uch easi|
|00000460| 65 72 20 74 68 61 6e 20 | 77 72 69 74 69 6e 67 20 |er than |writing |
|00000470| 73 63 72 69 70 74 73 20 | 61 6e 64 20 74 68 6f 73 |scripts |and thos|
|00000480| 65 20 6f 70 65 72 61 74 | 69 6f 6e 73 20 61 72 65 |e operat|ions are|
|00000490| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 d2 45 | describ|ed in .E|
|000004a0| 78 74 72 61 73 20 6d 65 | 6e 75 d3 20 73 65 63 74 |xtras me|nu. sect|
|000004b0| 69 6f 6e 20 69 6e 20 74 | 68 65 20 61 70 70 6c 69 |ion in t|he appli|
|000004c0| 63 61 74 69 6f 6e d5 73 | 20 6d 61 6e 75 61 6c 2e |cation.s| manual.|
|000004d0| 0d 0d 31 2e 31 20 20 41 | 62 6f 75 74 20 73 6f 6d |..1.1 A|bout som|
|000004e0| 65 20 77 6f 72 64 73 0d | 31 2e 31 2e 31 20 20 d2 |e words.|1.1.1 .|
|000004f0| 53 63 72 69 70 74 d3 0d | 57 65 20 63 61 6e 20 66 |Script..|We can f|
|00000500| 69 6e 64 20 6f 75 74 20 | 74 77 6f 20 6d 65 61 6e |ind out |two mean|
|00000510| 69 6e 67 73 20 69 6e 20 | 74 68 65 20 77 6f 72 64 |ings in |the word|
|00000520| 20 d2 73 63 72 69 70 74 | d3 20 69 6e 20 74 68 65 | .script|. in the|
|00000530| 20 4d 61 63 20 4f 53 20 | 73 6f 66 74 77 61 72 65 | Mac OS |software|
|00000540| 2e 0d 46 69 72 73 74 2c | 20 73 63 72 69 70 74 20 |..First,| script |
|00000550| 6f 66 20 d2 73 63 72 69 | 70 74 20 73 79 73 74 65 |of .scri|pt syste|
|00000560| 6d d3 2e 20 53 63 72 69 | 70 74 20 73 79 73 74 65 |m.. Scri|pt syste|
|00000570| 6d 20 69 73 20 77 68 61 | 74 20 65 6e 61 62 6c 65 |m is wha|t enable|
|00000580| 73 20 72 65 61 64 69 6e | 67 20 61 6e 64 20 77 72 |s readin|g and wr|
|00000590| 69 74 69 6e 67 20 74 65 | 78 74 20 69 6e 20 6c 61 |iting te|xt in la|
|000005a0| 6e 67 75 61 67 65 73 20 | 79 6f 75 20 75 73 65 20 |nguages |you use |
|000005b0| 61 6e 64 20 d2 73 63 72 | 69 70 74 20 63 6f 64 65 |and .scr|ipt code|
|000005c0| d3 20 69 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |. is the| number |
|000005d0| 6f 66 20 74 68 65 20 73 | 63 72 69 70 74 20 73 79 |of the s|cript sy|
|000005e0| 73 74 65 6d 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |stem. Fo|r exampl|
|000005f0| 65 2c 20 52 6f 6d 61 6e | 20 73 63 72 69 70 74 20 |e, Roman| script |
|00000600| 73 79 73 74 65 6d 20 63 | 6f 76 65 72 73 20 45 6e |system c|overs En|
|00000610| 67 6c 69 73 68 2c 20 47 | 65 72 6d 61 6e 2c 20 46 |glish, G|erman, F|
|00000620| 72 65 6e 63 68 20 61 6e | 64 20 6d 61 6e 79 20 6f |rench an|d many o|
|00000630| 74 68 65 72 20 6c 61 6e | 67 75 61 67 65 73 2e 20 |ther lan|guages. |
|00000640| 41 6e 64 20 4a 61 70 61 | 6e 65 73 65 20 73 63 72 |And Japa|nese scr|
|00000650| 69 70 74 20 73 79 73 74 | 65 6d 20 65 6e 61 62 6c |ipt syst|em enabl|
|00000660| 65 73 20 74 72 65 61 74 | 69 6e 67 20 4a 61 70 61 |es treat|ing Japa|
|00000670| 6e 65 73 65 20 6c 61 6e | 67 75 61 67 65 20 6f 6e |nese lan|guage on|
|00000680| 20 79 6f 75 72 20 63 6f | 6d 70 75 74 65 72 2e 20 | your co|mputer. |
|00000690| 54 68 65 20 74 65 72 6d | 20 d2 73 63 72 69 70 74 |The term| .script|
|000006a0| 20 73 79 73 74 65 6d d3 | 20 6f 72 20 d2 73 63 72 | system.| or .scr|
|000006b0| 69 70 74 20 63 6f 64 65 | d3 20 69 73 20 61 6c 73 |ipt code|. is als|
|000006c0| 6f 20 69 6d 70 6f 72 74 | 61 6e 74 20 69 6e 20 51 |o import|ant in Q|
|000006d0| 75 6f 45 64 69 74 20 62 | 75 74 20 77 65 20 64 6f |uoEdit b|ut we do|
|000006e0| 6e d5 74 20 64 69 73 63 | 75 73 73 20 61 62 6f 75 |n.t disc|uss abou|
|000006f0| 74 20 69 74 20 68 65 72 | 65 2e 0d 53 65 63 6f 6e |t it her|e..Secon|
|00000700| 64 2c 20 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 |d, progr|am that |
|00000710| 79 6f 75 20 63 61 6e 20 | 77 72 69 74 65 20 65 61 |you can |write ea|
|00000720| 73 69 6c 79 2e 20 45 73 | 70 65 63 69 61 6c 6c 79 |sily. Es|pecially|
|00000730| 2c 20 68 65 72 65 20 69 | 74 20 6d 65 61 6e 73 20 |, here i|t means |
|00000740| 70 72 6f 67 72 61 6d 20 | 69 6e 20 74 68 65 20 41 |program |in the A|
|00000750| 70 70 6c 65 53 63 72 69 | 70 74 20 66 6f 72 6d 2e |ppleScri|pt form.|
|00000760| 20 57 72 69 74 69 6e 67 | 20 73 63 72 69 70 74 73 | Writing| scripts|
|00000770| 20 69 73 20 75 73 75 61 | 6c 6c 79 20 73 61 69 64 | is usua|lly said|
|00000780| 20 d2 73 63 72 69 70 74 | 69 6e 67 d3 20 61 6e 64 | .script|ing. and|
|00000790| 20 73 79 73 74 65 6d 20 | 74 68 61 74 20 65 6e 61 | system |that ena|
|000007a0| 62 6c 65 73 20 73 63 72 | 69 70 74 69 6e 67 20 69 |bles scr|ipting i|
|000007b0| 73 20 63 61 6c 6c 65 64 | 20 d2 73 63 72 69 70 74 |s called| .script|
|000007c0| 69 6e 67 20 63 6f 6d 70 | 6f 6e 65 6e 74 d3 2e 0d |ing comp|onent...|
|000007d0| 53 6f 2c 20 64 6f 6e d5 | 74 20 62 65 20 63 6f 6e |So, don.|t be con|
|000007e0| 66 75 73 65 64 20 61 62 | 6f 75 74 20 74 68 65 20 |fused ab|out the |
|000007f0| 77 6f 72 64 20 d2 73 63 | 72 69 70 74 d3 2e 20 59 |word .sc|ript.. Y|
|00000800| 6f 75 20 77 69 6c 6c 20 | 62 65 20 61 62 6c 65 20 |ou will |be able |
|00000810| 74 6f 20 64 69 73 74 69 | 6e 67 75 69 73 68 20 74 |to disti|nguish t|
|00000820| 68 65 6d 20 69 6e 20 74 | 68 65 20 63 6f 6e 74 65 |hem in t|he conte|
|00000830| 78 74 2e 0d 28 51 75 6f | 45 64 69 74 20 64 6f 65 |xt..(Quo|Edit doe|
|00000840| 73 20 6e 6f 74 20 75 73 | 65 20 74 68 65 20 77 6f |s not us|e the wo|
|00000850| 72 64 20 d2 6d 61 63 72 | 6f d3 20 61 62 6f 75 74 |rd .macr|o. about|
|00000860| 20 73 63 72 69 70 74 73 | 20 69 6d 70 6c 65 6d 65 | scripts| impleme|
|00000870| 6e 74 65 64 20 62 79 20 | 4f 53 41 2c 20 6f 66 20 |nted by |OSA, of |
|00000880| 63 6f 75 72 73 65 2e 29 | 0d 0d 31 2e 31 2e 32 20 |course.)|..1.1.2 |
|00000890| 20 d2 43 6f 6d 6d 61 6e | 64 d3 0d 41 70 70 6c 65 | .Comman|d..Apple|
|000008a0| 53 63 72 69 70 74 d5 73 | 20 d2 63 6f 6d 6d 61 6e |Script.s| .comman|
|000008b0| 64 d3 20 69 73 20 6f 66 | 74 65 6e 20 63 61 6c 6c |d. is of|ten call|
|000008c0| 65 64 20 d2 65 76 65 6e | 74 d3 20 66 72 6f 6d 20 |ed .even|t. from |
|000008d0| 76 69 65 77 20 70 6f 69 | 6e 74 20 6f 66 20 74 68 |view poi|nt of th|
|000008e0| 65 20 41 70 70 6c 65 20 | 65 76 65 6e 74 2e 20 54 |e Apple |event. T|
|000008f0| 68 61 74 20 77 6f 75 6c | 64 20 62 65 20 75 73 65 |hat woul|d be use|
|00000900| 66 75 6c 20 74 6f 20 64 | 69 73 74 69 6e 67 75 69 |ful to d|istingui|
|00000910| 73 68 20 69 74 20 66 72 | 6f 6d 20 74 68 65 20 61 |sh it fr|om the a|
|00000920| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 6d 65 6e |pplicati|on.s men|
|00000930| 75 20 63 6f 6d 6d 61 6e | 64 2e 0d 49 6e 20 74 68 |u comman|d..In th|
|00000940| 69 73 20 53 63 72 69 70 | 74 69 6e 67 20 47 75 69 |is Scrip|ting Gui|
|00000950| 64 65 2c 20 68 6f 77 65 | 76 65 72 2c 20 6e 6f 74 |de, howe|ver, not|
|00000960| 65 20 74 68 61 74 20 41 | 70 70 6c 65 53 63 72 69 |e that A|ppleScri|
|00000970| 70 74 d5 73 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |pt.s com|mand is |
|00000980| 62 61 73 69 63 61 6c 6c | 79 20 64 65 73 63 72 69 |basicall|y descri|
|00000990| 62 65 64 20 61 73 20 d2 | 63 6f 6d 6d 61 6e 64 d3 |bed as .|command.|
|000009a0| 20 77 68 69 6c 65 20 61 | 70 70 6c 69 63 61 74 69 | while a|pplicati|
|000009b0| 6f 6e d5 73 20 6d 65 6e | 75 20 63 6f 6d 6d 61 6e |on.s men|u comman|
|000009c0| 64 20 69 73 20 64 65 73 | 63 72 69 62 65 64 20 61 |d is des|cribed a|
|000009d0| 73 20 d2 6d 65 6e 75 20 | 63 6f 6d 6d 61 6e 64 d3 |s .menu |command.|
|000009e0| 20 65 78 70 6c 69 63 69 | 74 6c 79 2e 0d 0d 31 2e | explici|tly...1.|
|000009f0| 31 2e 33 20 20 d2 41 70 | 70 6c 65 53 63 72 69 70 |1.3 .Ap|pleScrip|
|00000a00| 74 d3 0d 41 70 70 6c 65 | 53 63 72 69 70 74 20 69 |t..Apple|Script i|
|00000a10| 73 20 6f 6e 65 20 6f 66 | 20 73 63 72 69 70 74 69 |s one of| scripti|
|00000a20| 6e 67 20 6c 61 6e 67 75 | 61 67 65 73 20 77 68 69 |ng langu|ages whi|
|00000a30| 63 68 20 73 75 70 70 6f | 72 74 20 4f 70 65 6e 20 |ch suppo|rt Open |
|00000a40| 53 63 72 69 70 74 69 6e | 67 20 41 72 63 68 69 74 |Scriptin|g Archit|
|00000a50| 65 63 74 75 72 65 20 28 | 4f 53 41 29 20 6f 66 20 |ecture (|OSA) of |
|00000a60| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 20 61 |Apple Co|mputer a|
|00000a70| 6e 64 20 69 74 20 69 73 | 20 69 6d 70 6c 65 6d 65 |nd it is| impleme|
|00000a80| 6e 74 65 64 20 62 79 20 | 74 68 65 20 41 70 70 6c |nted by |the Appl|
|00000a90| 65 53 63 72 69 70 74 20 | 73 63 72 69 70 74 69 6e |eScript |scriptin|
|00000aa0| 67 20 63 6f 6d 70 6f 6e | 65 6e 74 20 69 6e 73 74 |g compon|ent inst|
|00000ab0| 61 6c 6c 65 64 20 69 6e | 20 74 68 65 20 73 79 73 |alled in| the sys|
|00000ac0| 74 65 6d 2e 20 53 6f 2c | 20 79 6f 75 20 6d 61 79 |tem. So,| you may|
|00000ad0| 20 62 65 20 6f 63 63 61 | 73 69 6f 6e 61 6c 6c 79 | be occa|sionally|
|00000ae0| 20 61 62 6c 65 20 74 6f | 20 74 61 6b 65 20 d2 41 | able to| take .A|
|00000af0| 70 70 6c 65 53 63 72 69 | 70 74 d3 20 69 6e 20 74 |ppleScri|pt. in t|
|00000b00| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |his docu|mentatio|
|00000b10| 6e 20 61 73 20 d2 41 70 | 70 6c 65 53 63 72 69 70 |n as .Ap|pleScrip|
|00000b20| 74 20 6f 72 20 6f 74 68 | 65 72 20 73 63 72 69 70 |t or oth|er scrip|
|00000b30| 74 69 6e 67 20 6c 61 6e | 67 75 61 67 65 20 28 6f |ting lan|guage (o|
|00000b40| 72 20 63 6f 6d 70 6f 6e | 65 6e 74 29 d3 2e 0d 28 |r compon|ent)...(|
|00000b50| 41 63 74 75 61 6c 6c 79 | 2c 20 51 75 6f 45 64 69 |Actually|, QuoEdi|
|00000b60| 74 20 69 73 20 6d 6f 73 | 74 6c 79 20 74 65 73 74 |t is mos|tly test|
|00000b70| 65 64 20 77 69 74 68 20 | 41 70 70 6c 65 53 63 72 |ed with |AppleScr|
|00000b80| 69 70 74 2c 20 61 20 76 | 65 72 79 20 6c 69 74 74 |ipt, a v|ery litt|
|00000b90| 6c 65 20 77 69 74 68 20 | 55 73 65 72 54 61 6c 6b |le with |UserTalk|
|00000ba0| 20 6f 66 20 55 73 65 72 | 4c 61 6e 64 20 46 72 6f | of User|Land Fro|
|00000bb0| 6e 74 69 65 72 aa 2c 20 | 61 6e 64 20 6e 6f 74 20 |ntier., |and not |
|00000bc0| 74 65 73 74 65 64 20 79 | 65 74 20 77 69 74 68 20 |tested y|et with |
|00000bd0| 51 75 69 63 4b 65 79 73 | 2e 29 0d 0d 31 2e 32 20 |QuicKeys|.)..1.2 |
|00000be0| 20 41 62 6f 75 74 20 64 | 69 63 74 69 6f 6e 61 72 | About d|ictionar|
|00000bf0| 79 0d 54 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |y.The ap|plicatio|
|00000c00| 6e 20 66 69 6c 65 20 6f | 66 20 51 75 6f 45 64 69 |n file o|f QuoEdi|
|00000c10| 74 20 63 6f 6e 74 61 69 | 6e 73 20 61 20 64 69 63 |t contai|ns a dic|
|00000c20| 74 69 6f 6e 61 72 79 20 | 6f 66 20 41 70 70 6c 65 |tionary |of Apple|
|00000c30| 53 63 72 69 70 74 20 74 | 65 72 6d 73 20 61 76 61 |Script t|erms ava|
|00000c40| 69 6c 61 62 6c 65 20 66 | 6f 72 20 74 68 65 20 61 |ilable f|or the a|
|00000c50| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 54 6f 20 6f |pplicati|on. To o|
|00000c60| 70 65 6e 20 74 68 65 20 | 64 69 63 74 69 6f 6e 61 |pen the |dictiona|
|00000c70| 72 79 2c 20 65 78 65 63 | 75 74 65 20 4f 70 65 6e |ry, exec|ute Open|
|00000c80| 20 44 69 63 74 69 6f 6e | 61 72 79 20 6d 65 6e 75 | Diction|ary menu|
|00000c90| 20 63 6f 6d 6d 61 6e 64 | 20 6f 66 20 74 68 65 20 | command| of the |
|00000ca0| 53 63 72 69 70 74 20 45 | 64 69 74 6f 72 20 61 6e |Script E|ditor an|
|00000cb0| 64 20 63 68 6f 6f 73 65 | 20 74 68 65 20 51 75 6f |d choose| the Quo|
|00000cc0| 45 64 69 74 2e 20 59 6f | 75 20 63 61 6e 20 61 6c |Edit. Yo|u can al|
|00000cd0| 73 6f 20 64 6f 20 69 74 | 20 62 79 20 64 72 61 67 |so do it| by drag|
|00000ce0| 67 69 6e 67 20 51 75 6f | 45 64 69 74 d5 73 20 69 |ging Quo|Edit.s i|
|00000cf0| 63 6f 6e 20 6f 6e 74 6f | 20 74 68 65 20 53 63 72 |con onto| the Scr|
|00000d00| 69 70 74 20 45 64 69 74 | 6f 72 d5 73 20 69 63 6f |ipt Edit|or.s ico|
|00000d10| 6e 2e 20 49 66 20 79 6f | 75 20 6f 66 74 65 6e 20 |n. If yo|u often |
|00000d20| 6f 70 65 6e 20 69 74 2c | 20 74 72 79 20 74 68 65 |open it,| try the|
|00000d30| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 73 63 72 69 70 | followi|ng scrip|
|00000d40| 74 2e 0d 0d 09 74 65 6c | 6c 20 61 70 70 6c 69 63 |t....tel|l applic|
|00000d50| 61 74 69 6f 6e 20 22 46 | 69 6e 64 65 72 22 0d 09 |ation "F|inder"..|
|00000d60| 09 6f 70 65 6e 20 28 70 | 61 74 68 20 74 6f 20 61 |.open (p|ath to a|
|00000d70| 70 70 6c 69 63 61 74 69 | 6f 6e 20 22 51 75 6f 45 |pplicati|on "QuoE|
|00000d80| 64 69 74 22 29 20 75 73 | 69 6e 67 20 61 70 70 6c |dit") us|ing appl|
|00000d90| 69 63 61 74 69 6f 6e 20 | 66 69 6c 65 20 69 64 20 |ication |file id |
|00000da0| 22 54 6f 79 53 22 0d 09 | 65 6e 64 20 74 65 6c 6c |"ToyS"..|end tell|
|00000db0| 0d 0d 43 68 61 70 74 65 | 72 73 20 32 2c 20 33 20 |..Chapte|rs 2, 3 |
|00000dc0| 61 6e 64 20 34 20 6f 66 | 20 74 68 69 73 20 64 6f |and 4 of| this do|
|00000dd0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 64 65 73 63 |cumentat|ion desc|
|00000de0| 72 69 62 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ribe inf|ormation|
|00000df0| 20 74 68 61 74 20 63 6f | 75 6c 64 20 6e 6f 74 20 | that co|uld not |
|00000e00| 62 65 20 64 65 73 63 72 | 69 62 65 64 20 69 6e 20 |be descr|ibed in |
|00000e10| 74 68 65 20 64 69 63 74 | 69 6f 6e 61 72 79 2e 0d |the dict|ionary..|
|00000e20| 0d 54 6f 20 75 73 65 20 | 61 6e 6f 74 68 65 72 20 |.To use |another |
|00000e30| 73 63 72 69 70 74 69 6e | 67 20 6c 61 6e 67 75 61 |scriptin|g langua|
|00000e40| 67 65 20 d2 55 73 65 72 | 54 61 6c 6b d3 2c 20 6f |ge .User|Talk., o|
|00000e50| 6e 63 65 20 69 6e 73 74 | 61 6c 6c 20 74 68 65 20 |nce inst|all the |
|00000e60| 76 65 72 62 20 74 61 62 | 6c 65 20 6f 66 20 51 75 |verb tab|le of Qu|
|00000e70| 6f 45 64 69 74 2e 20 54 | 6f 20 69 6e 73 74 61 6c |oEdit. T|o instal|
|00000e80| 6c 20 69 74 2c 20 6c 61 | 75 6e 63 68 20 61 70 70 |l it, la|unch app|
|00000e90| 6c 69 63 61 74 69 6f 6e | 20 d2 55 73 65 72 4c 61 |lication| .UserLa|
|00000ea0| 6e 64 20 46 72 6f 6e 74 | 69 65 72 aa d3 20 28 35 |nd Front|ier.. (5|
|00000eb0| 2e 30 2e 31 29 2c 20 63 | 68 6f 6f 73 65 20 d2 63 |.0.1), c|hoose .c|
|00000ec0| 6f 6d 6d 65 72 63 69 61 | 6c d3 20 6d 65 6e 75 20 |ommercia|l. menu |
|00000ed0| 63 6f 6d 6d 61 6e 64 20 | 69 6e 20 d2 53 75 69 74 |command |in .Suit|
|00000ee0| 65 73 d3 20 73 75 62 6d | 65 6e 75 20 69 6e 20 d2 |es. subm|enu in .|
|00000ef0| 4d 61 69 6e d3 20 6d 65 | 6e 75 2c 20 74 68 65 6e |Main. me|nu, then|
|00000f00| 20 63 68 6f 6f 73 65 20 | d2 45 6e 74 65 72 20 79 | choose |.Enter y|
|00000f10| 6f 75 72 20 41 70 70 d5 | 73 20 4e 61 6d 65 d3 20 |our App.|s Name. |
|00000f20| 6d 65 6e 75 20 63 6f 6d | 6d 61 6e 64 20 69 6e 20 |menu com|mand in |
|00000f30| d2 47 6c 75 65 d3 20 6d | 65 6e 75 2c 20 69 6e 70 |.Glue. m|enu, inp|
|00000f40| 75 74 20 d2 51 75 6f 45 | 64 69 74 d3 20 61 6e 64 |ut .QuoE|dit. and|
|00000f50| 20 66 6f 6c 6c 6f 77 20 | 74 68 65 20 69 6e 73 74 | follow |the inst|
|00000f60| 72 75 63 74 69 6f 6e 2e | 20 28 41 6e 73 77 65 72 |ruction.| (Answer|
|00000f70| 20 d2 4e 6f d3 20 6a 75 | 73 74 20 61 62 6f 75 74 | .No. ju|st about|
|00000f80| 20 4d 65 6e 75 20 53 68 | 61 72 69 6e 67 2e 29 0d | Menu Sh|aring.).|
|00000f90| 4e 6f 74 65 20 74 68 61 | 74 20 69 6e 20 55 73 65 |Note tha|t in Use|
|00000fa0| 72 54 61 6c 6b 20 65 76 | 65 72 79 20 74 65 72 6d |rTalk ev|ery term|
|00000fb0| 20 69 73 20 77 72 69 74 | 74 65 6e 20 69 6e 20 6f | is writ|ten in o|
|00000fc0| 6e 65 20 77 6f 72 64 2e | 20 46 6f 72 20 65 78 61 |ne word.| For exa|
|00000fd0| 6d 70 6c 65 2c 20 77 72 | 69 74 65 20 69 74 20 6c |mple, wr|ite it l|
|00000fe0| 69 6b 65 20 d4 72 65 70 | 6c 61 63 65 41 6c 6c d5 |ike .rep|laceAll.|
|00000ff0| 2c 20 d4 74 73 6d 41 77 | 61 72 65 d5 20 69 6e 73 |, .tsmAw|are. ins|
|00001000| 74 65 61 64 20 6f 66 20 | d4 72 65 70 6c 61 63 65 |tead of |.replace|
|00001010| 20 61 6c 6c d5 2c 20 d4 | 54 53 4d 20 61 77 61 72 | all., .|TSM awar|
|00001020| 65 d5 2e 20 41 6e 64 20 | 61 6e 20 65 78 63 65 70 |e.. And |an excep|
|00001030| 74 69 6f 6e 20 69 73 20 | d4 69 64 d5 3b 20 77 72 |tion is |.id.; wr|
|00001040| 69 74 65 20 69 74 20 61 | 73 20 d4 69 64 31 d5 0d |ite it a|s .id1..|
|00001050| 0d 31 2e 33 20 20 4c 69 | 6d 69 74 61 74 69 6f 6e |.1.3 Li|mitation|
|00001060| 20 6f 66 20 74 65 78 74 | 20 6c 65 6e 67 74 68 0d | of text| length.|
|00001070| 41 63 63 6f 72 64 69 6e | 67 20 74 6f 20 74 68 65 |Accordin|g to the|
|00001080| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 61 62 6f | descrip|tion abo|
|00001090| 75 74 20 53 74 72 69 6e | 67 20 69 6e 20 d2 41 70 |ut Strin|g in .Ap|
|000010a0| 70 6c 65 53 63 72 69 70 | 74 20 4c 61 6e 67 75 61 |pleScrip|t Langua|
|000010b0| 67 65 20 47 75 69 64 65 | d3 2c 20 74 68 65 72 65 |ge Guide|., there|
|000010c0| 20 69 73 20 6e 6f 20 6c | 69 6d 69 74 20 6f 6e 20 | is no l|imit on |
|000010d0| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 73 74 |the leng|th of st|
|000010e0| 72 69 6e 67 73 20 65 78 | 63 65 70 74 20 74 68 65 |rings ex|cept the|
|000010f0| 20 6d 65 6d 6f 72 79 20 | 61 76 61 69 6c 61 62 6c | memory |availabl|
|00001100| 65 20 69 6e 20 74 68 65 | 20 63 6f 6d 70 75 74 65 |e in the| compute|
|00001110| 72 2e 20 42 75 74 20 69 | 74 20 73 65 65 6d 73 20 |r. But i|t seems |
|00001120| 74 68 61 74 20 41 70 70 | 6c 65 53 63 72 69 70 74 |that App|leScript|
|00001130| 20 28 61 73 20 61 20 73 | 6f 66 74 77 61 72 65 2c | (as a s|oftware,|
|00001140| 20 69 6e 20 6d 79 20 6f | 70 69 6e 69 6f 6e 29 20 | in my o|pinion) |
|00001150| 68 61 73 20 61 20 6c 69 | 6d 69 74 61 74 69 6f 6e |has a li|mitation|
|00001160| 20 6f 6e 20 74 65 78 74 | 20 6c 65 6e 67 74 68 20 | on text| length |
|00001170| 69 6e 20 73 6f 6d 65 20 | 63 61 73 65 73 3b 20 61 |in some |cases; a|
|00001180| 63 74 75 61 6c 6c 79 20 | 69 74 20 73 6f 6d 65 74 |ctually |it somet|
|00001190| 69 6d 65 73 20 73 68 6f | 77 73 20 74 68 65 20 61 |imes sho|ws the a|
|000011a0| 6c 65 72 74 20 74 68 61 | 74 20 74 65 6c 6c 73 20 |lert tha|t tells |
|000011b0| 74 68 61 74 20 69 74 20 | 63 61 6e 6e 6f 74 20 70 |that it |cannot p|
|000011c0| 65 72 66 6f 72 6d 20 6f | 70 65 72 61 74 69 6f 6e |erform o|peration|
|000011d0| 20 6f 6e 20 74 65 78 74 | 20 6c 6f 6e 67 65 72 20 | on text| longer |
|000011e0| 74 68 61 6e 20 33 32 4b | 42 2e 0d 41 6e 64 20 69 |than 32K|B..And i|
|000011f0| 6e 20 74 68 65 20 65 61 | 72 6c 69 65 72 20 73 79 |n the ea|rlier sy|
|00001200| 73 74 65 6d 73 2c 20 74 | 68 65 20 6d 61 78 69 6d |stems, t|he maxim|
|00001210| 75 6d 20 64 61 74 61 20 | 73 69 7a 65 20 6f 66 20 |um data |size of |
|00001220| 41 70 70 6c 65 20 65 76 | 65 6e 74 20 69 74 73 65 |Apple ev|ent itse|
|00001230| 6c 66 20 69 6e 63 6c 75 | 64 69 6e 67 20 74 68 65 |lf inclu|ding the|
|00001240| 20 70 61 72 61 6d 65 74 | 65 72 73 20 68 61 64 20 | paramet|ers had |
|00001250| 62 65 65 6e 20 36 34 4b | 42 2e 0d 0d 48 6f 77 65 |been 64K|B...Howe|
|00001260| 76 65 72 2c 20 69 66 20 | 74 77 6f 20 70 72 6f 67 |ver, if |two prog|
|00001270| 72 61 6d 73 20 28 6c 69 | 6b 65 20 51 75 6f 45 64 |rams (li|ke QuoEd|
|00001280| 69 74 20 61 6e 64 20 41 | 70 70 6c 65 53 63 72 69 |it and A|ppleScri|
|00001290| 70 74 29 20 64 6f 6e d5 | 74 20 73 65 6e 64 20 61 |pt) don.|t send a|
|000012a0| 6e 64 20 72 65 63 65 69 | 76 65 20 74 68 65 20 74 |nd recei|ve the t|
|000012b0| 65 78 74 20 64 61 74 61 | 20 69 74 73 65 6c 66 2c |ext data| itself,|
|000012c0| 20 74 68 65 72 65 20 69 | 73 20 72 65 61 6c 6c 79 | there i|s really|
|000012d0| 20 6e 6f 20 6c 69 6d 69 | 74 20 6f 6e 20 74 68 65 | no limi|t on the|
|000012e0| 20 6c 65 6e 67 74 68 20 | 77 69 74 68 6f 75 74 20 | length |without |
|000012f0| 74 68 65 20 6d 65 6d 6f | 72 79 2e 20 28 4f 66 20 |the memo|ry. (Of |
|00001300| 63 6f 75 72 73 65 2c 20 | 73 65 6e 64 69 6e 67 20 |course, |sending |
|00001310| 61 6e 64 20 72 65 63 65 | 69 76 69 6e 67 20 74 65 |and rece|iving te|
|00001320| 78 74 20 76 69 61 20 74 | 68 65 20 63 6c 69 70 62 |xt via t|he clipb|
|00001330| 6f 61 72 64 20 6f 72 20 | 66 69 6c 65 73 20 64 6f |oard or |files do|
|00001340| 65 73 20 6e 6f 74 20 63 | 6f 6e 63 65 72 6e 20 74 |es not c|oncern t|
|00001350| 68 65 20 6c 69 6d 69 74 | 61 74 69 6f 6e 2e 29 0d |he limit|ation.).|
|00001360| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 77 68 65 |For exam|ple, whe|
|00001370| 6e 20 79 6f 75 20 73 65 | 6c 65 63 74 20 61 20 6c |n you se|lect a l|
|00001380| 61 72 67 65 20 74 65 78 | 74 20 61 6e 64 20 74 68 |arge tex|t and th|
|00001390| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 65 73 74 |e follow|ing test|
|000013a0| 20 69 73 20 65 78 65 63 | 75 74 65 64 2c 20 6d 65 | is exec|uted, me|
|000013b0| 6d 6f 72 79 20 65 72 72 | 6f 72 20 6d 69 67 68 74 |mory err|or might|
|000013c0| 20 62 65 20 72 65 74 75 | 72 6e 65 64 20 6f 72 20 | be retu|rned or |
|000013d0| 73 79 73 74 65 6d 20 65 | 72 72 6f 72 20 63 6f 75 |system e|rror cou|
|000013e0| 6c 64 20 61 63 74 75 61 | 6c 6c 79 20 6f 63 63 75 |ld actua|lly occu|
|000013f0| 72 20 28 69 6e 20 6d 79 | 20 65 78 70 65 72 69 65 |r (in my| experie|
|00001400| 6e 63 65 29 2e 0d 09 69 | 66 20 73 65 6c 65 63 74 |nce)...i|f select|
|00001410| 69 6f 6e 20 61 73 20 74 | 65 78 74 20 69 73 20 6e |ion as t|ext is n|
|00001420| 6f 74 20 22 22 20 74 68 | 65 6e 09 2d 2d 20 41 70 |ot "" th|en.-- Ap|
|00001430| 70 6c 65 53 63 72 69 70 | 74 20 67 65 74 73 20 74 |pleScrip|t gets t|
|00001440| 68 65 20 74 65 78 74 20 | 61 6e 64 20 63 6f 6d 70 |he text |and comp|
|00001450| 61 72 65 73 0d 54 6f 20 | 61 76 6f 69 64 20 74 68 |ares.To |avoid th|
|00001460| 65 20 64 61 6e 67 65 72 | 2c 20 74 65 73 74 20 69 |e danger|, test i|
|00001470| 74 20 6c 69 6b 65 20 74 | 68 65 20 66 6f 6c 6c 6f |t like t|he follo|
|00001480| 77 69 6e 67 2e 0d 09 69 | 66 20 30 20 3c 20 28 62 |wing...i|f 0 < (b|
|00001490| 79 74 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 73 65 |yte leng|th of se|
|000014a0| 6c 65 63 74 69 6f 6e 29 | 20 74 68 65 6e 09 2d 2d |lection)| then.--|
|000014b0| 20 65 76 61 6c 75 61 74 | 65 20 74 68 65 20 6c 65 | evaluat|e the le|
|000014c0| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 74 65 78 74 |ngth of |the text|
|000014d0| 0d 41 6e 64 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |.And the| followi|
|000014e0| 6e 67 20 74 65 73 74 20 | 69 73 20 73 61 66 65 20 |ng test |is safe |
|000014f0| 69 6e 20 63 61 73 65 20 | 6f 66 20 51 75 6f 45 64 |in case |of QuoEd|
|00001500| 69 74 2e 0d 09 69 66 20 | 73 65 6c 65 63 74 69 6f |it...if |selectio|
|00001510| 6e 20 69 73 20 6e 6f 74 | 20 22 22 20 74 68 65 6e |n is not| "" then|
|00001520| 09 09 2d 2d 20 51 75 6f | 45 64 69 74 20 64 6f 65 |..-- Quo|Edit doe|
|00001530| 73 20 74 68 65 20 63 6f | 6d 70 61 72 69 73 6f 6e |s the co|mparison|
|00001540| 20 61 6e 64 20 72 65 74 | 75 72 6e 20 74 68 65 20 | and ret|urn the |
|00001550| 72 65 73 75 6c 74 0d 42 | 75 74 20 69 6e 20 74 68 |result.B|ut in th|
|00001560| 69 73 20 63 61 73 65 2c | 20 6d 65 6d 6f 72 79 20 |is case,| memory |
|00001570| 74 6f 20 63 6f 6d 70 61 | 72 65 20 74 68 65 20 74 |to compa|re the t|
|00001580| 65 78 74 20 69 73 20 74 | 65 6d 70 6f 72 61 72 69 |ext is t|emporari|
|00001590| 6c 79 20 75 73 65 64 20 | 61 6e 64 20 6f 6e 6c 79 |ly used |and only|
|000015a0| 20 6f 70 74 69 6f 6e 20 | 6f 66 20 68 6f 77 20 74 | option |of how t|
|000015b0| 6f 20 63 6f 6d 70 61 72 | 65 20 75 70 70 65 72 63 |o compar|e upperc|
|000015c0| 61 73 65 2f 6c 6f 77 65 | 72 63 61 73 65 20 69 73 |ase/lowe|rcase is|
|000015d0| 20 61 76 61 69 6c 61 62 | 6c 65 20 28 77 69 74 68 | availab|le (with|
|000015e0| 20 d4 66 69 6c 74 65 72 | 20 69 67 6e 6f 72 65 73 | .filter| ignores|
|000015f0| 20 63 61 73 65 d5 20 70 | 72 6f 70 65 72 74 79 29 | case. p|roperty)|
|00001600| 2e 0d 0d 49 6e 20 66 61 | 63 74 2c 20 74 65 78 74 |...In fa|ct, text|
|00001610| 20 6c 6f 6e 67 65 72 20 | 74 68 61 6e 20 33 32 4b | longer |than 32K|
|00001620| 42 20 28 33 32 37 36 38 | 20 62 79 74 65 73 29 20 |B (32768| bytes) |
|00001630| 69 73 20 68 61 6e 64 6c | 65 64 20 73 61 66 65 6c |is handl|ed safel|
|00001640| 79 20 69 6e 20 6d 61 6e | 79 20 63 61 73 65 73 2e |y in man|y cases.|
|00001650| 20 42 75 74 20 73 6f 6d | 65 20 6f 66 20 73 63 72 | But som|e of scr|
|00001660| 69 70 74 73 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |ipts inc|luded in|
|00001670| 20 51 75 6f 45 64 69 74 | d5 73 20 66 6f 6c 64 65 | QuoEdit|.s folde|
|00001680| 72 20 73 74 69 6c 6c 20 | 72 65 73 74 72 69 63 74 |r still |restrict|
|00001690| 20 74 68 65 20 6d 61 78 | 69 6d 75 6d 20 74 65 78 | the max|imum tex|
|000016a0| 74 20 6c 65 6e 67 74 68 | 20 74 6f 20 33 32 4b 42 |t length| to 32KB|
|000016b0| 20 66 6f 72 20 73 61 66 | 65 74 79 2e 20 28 49 66 | for saf|ety. (If|
|000016c0| 20 79 6f 75 20 61 72 65 | 20 73 75 72 65 20 74 68 | you are| sure th|
|000016d0| 61 74 20 74 68 65 20 6c | 69 6d 69 74 61 74 69 6f |at the l|imitatio|
|000016e0| 6e 20 69 73 20 6e 6f 74 | 20 61 70 70 6c 69 65 64 |n is not| applied|
|000016f0| 20 74 6f 20 74 68 65 20 | 73 63 72 69 70 74 2c 20 | to the |script, |
|00001700| 79 6f 75 20 63 61 6e 20 | 72 65 6d 6f 76 65 20 74 |you can |remove t|
|00001710| 68 65 20 72 65 73 74 72 | 69 63 74 69 6f 6e 2e 29 |he restr|iction.)|
|00001720| 0d 0d 31 2e 34 20 20 4b | 6e 6f 77 6e 20 70 72 6f |..1.4 K|nown pro|
|00001730| 62 6c 65 6d 73 0d 31 2e | 34 2e 31 20 20 41 20 62 |blems.1.|4.1 A b|
|00001740| 75 67 20 6f 66 20 41 70 | 70 6c 65 53 63 72 69 70 |ug of Ap|pleScrip|
|00001750| 74 0d 57 68 65 6e 20 79 | 6f 75 20 72 75 6e 20 61 |t.When y|ou run a|
|00001760| 20 73 63 72 69 70 74 20 | 66 72 6f 6d 20 74 68 65 | script |from the|
|00001770| 20 53 63 72 69 70 74 20 | 45 64 69 74 6f 72 20 73 | Script |Editor s|
|00001780| 68 6f 77 69 6e 67 20 74 | 68 65 20 65 78 65 63 75 |howing t|he execu|
|00001790| 74 69 6f 6e 20 72 65 73 | 75 6c 74 20 6f 72 20 74 |tion res|ult or t|
|000017a0| 68 65 20 65 76 65 6e 74 | 20 6c 6f 67 2c 20 74 68 |he event| log, th|
|000017b0| 65 20 53 63 72 69 70 74 | 20 45 64 69 74 6f 72 20 |e Script| Editor |
|000017c0| 73 6f 6d 65 74 69 6d 65 | 73 20 63 72 61 73 68 65 |sometime|s crashe|
|000017d0| 73 20 6f 72 20 73 68 6f | 77 73 20 64 75 73 74 20 |s or sho|ws dust |
|000017e0| 73 74 72 69 6e 67 20 69 | 66 20 74 68 65 20 72 65 |string i|f the re|
|000017f0| 73 75 6c 74 20 74 65 78 | 74 20 6f 72 20 74 68 65 |sult tex|t or the|
|00001800| 20 65 76 65 6e 74 20 6c | 6f 67 20 74 65 78 74 20 | event l|og text |
|00001810| 69 6e 63 6c 75 64 65 73 | 20 6e 75 6c 6c 20 63 68 |includes| null ch|
|00001820| 61 72 61 63 74 65 72 20 | 28 63 68 61 72 61 63 74 |aracter |(charact|
|00001830| 65 72 20 77 68 6f 73 65 | 20 63 6f 64 65 20 69 73 |er whose| code is|
|00001840| 20 30 3b 20 75 73 75 61 | 6c 6c 79 20 69 6e 63 6c | 0; usua|lly incl|
|00001850| 75 64 65 64 20 6f 6e 6c | 79 20 69 6e 20 62 69 6e |uded onl|y in bin|
|00001860| 61 72 79 20 64 61 74 61 | 29 2e 20 54 68 69 73 20 |ary data|). This |
|00001870| 69 73 20 61 20 62 75 67 | 20 6f 66 20 41 70 70 6c |is a bug| of Appl|
|00001880| 65 53 63 72 69 70 74 20 | 28 6d 61 79 62 65 20 6e |eScript |(maybe n|
|00001890| 65 77 65 72 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |ewer ver|sions of|
|000018a0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 29 20 72 61 | AppleSc|ript) ra|
|000018b0| 74 68 65 72 20 74 68 61 | 6e 20 74 68 65 20 53 63 |ther tha|n the Sc|
|000018c0| 72 69 70 74 20 45 64 69 | 74 6f 72 20 74 68 61 74 |ript Edi|tor that|
|000018d0| 20 69 73 20 67 65 6e 65 | 72 61 74 65 64 20 77 68 | is gene|rated wh|
|000018e0| 65 6e 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 6d |en Apple|Script m|
|000018f0| 61 6b 65 73 20 61 20 74 | 65 78 74 20 73 74 72 69 |akes a t|ext stri|
|00001900| 6e 67 20 74 6f 20 73 68 | 6f 77 2e 20 41 20 62 75 |ng to sh|ow. A bu|
|00001910| 67 20 72 65 70 6f 72 74 | 20 6f 6e 20 74 68 69 73 |g report| on this|
|00001920| 20 69 73 73 75 65 20 77 | 61 73 20 73 75 62 6d 69 | issue w|as submi|
|00001930| 74 74 65 64 20 74 6f 20 | 41 70 70 6c 65 20 43 6f |tted to |Apple Co|
|00001940| 6d 70 75 74 65 72 20 61 | 6e 64 20 74 68 65 20 69 |mputer a|nd the i|
|00001950| 73 73 75 65 20 69 73 20 | 61 6c 72 65 61 64 79 20 |ssue is |already |
|00001960| 6b 6e 6f 77 6e 20 62 79 | 20 74 68 65 6d 2e 0d 0d |known by| them...|
|00001970| 31 2e 34 2e 32 20 20 41 | 20 70 72 6f 62 6c 65 6d |1.4.2 A| problem|
|00001980| 20 74 68 61 74 20 73 63 | 72 69 70 74 20 73 74 6f | that sc|ript sto|
|00001990| 70 73 0d 57 68 65 6e 20 | 61 20 73 63 72 69 70 74 |ps.When |a script|
|000019a0| 20 74 68 61 74 20 77 61 | 73 20 72 75 6e 20 62 79 | that wa|s run by|
|000019b0| 20 51 75 6f 45 64 69 74 | 20 6c 61 75 6e 63 68 65 | QuoEdit| launche|
|000019c0| 73 20 28 6f 72 20 61 63 | 74 69 76 61 74 65 73 29 |s (or ac|tivates)|
|000019d0| 20 73 6f 6d 65 20 61 70 | 70 6c 69 63 61 74 69 6f | some ap|plicatio|
|000019e0| 6e 2c 20 74 68 65 20 65 | 78 65 63 75 74 69 6f 6e |n, the e|xecution|
|000019f0| 20 6d 69 67 68 74 20 73 | 6f 6d 65 74 69 6d 65 73 | might s|ometimes|
|00001a00| 20 73 74 6f 70 2e 20 49 | 66 20 79 6f 75 20 65 6e | stop. I|f you en|
|00001a10| 63 6f 75 6e 74 65 72 65 | 64 20 74 68 61 74 20 70 |countere|d that p|
|00001a20| 72 6f 62 6c 65 6d 2c 20 | 6f 6e 63 65 20 71 75 69 |roblem, |once qui|
|00001a30| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 62 79 |t applic|ation by|
|00001a40| 20 63 6f 6d 6d 61 6e 64 | 2d 6f 70 74 69 6f 6e 2d | command|-option-|
|00001a50| 65 73 63 61 70 65 20 6b | 65 79 73 20 28 69 66 20 |escape k|eys (if |
|00001a60| 69 74 20 6c 6f 6f 6b 73 | 20 6c 69 6b 65 20 66 72 |it looks| like fr|
|00001a70| 6f 7a 65 6e 29 20 61 6e | 64 20 74 72 79 20 6d 6f |ozen) an|d try mo|
|00001a80| 64 69 66 79 69 6e 67 20 | 74 68 65 20 73 63 72 69 |difying |the scri|
|00001a90| 70 74 20 74 6f 20 6f 70 | 65 6e 20 74 68 65 20 61 |pt to op|en the a|
|00001aa0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 62 79 20 74 68 |pplicati|on by th|
|00001ab0| 65 20 46 69 6e 64 65 72 | 2e 20 54 68 61 74 20 77 |e Finder|. That w|
|00001ac0| 6f 72 6b 73 20 69 6e 20 | 6d 79 20 65 78 70 65 72 |orks in |my exper|
|00001ad0| 69 65 6e 63 65 73 2e 0d | 0d 0d a5 32 20 20 43 6f |iences..|...2 Co|
|00001ae0| 6d 6d 61 6e 64 73 20 61 | 6e 64 20 50 61 72 61 6d |mmands a|nd Param|
|00001af0| 65 74 65 72 73 0d 32 2e | 31 20 20 4f 70 65 6e 0d |eters.2.|1 Open.|
|00001b00| 57 68 65 6e 20 51 75 6f | 45 64 69 74 20 72 65 63 |When Quo|Edit rec|
|00001b10| 65 69 76 65 73 20 4f 70 | 65 6e 20 65 76 65 6e 74 |eives Op|en event|
|00001b20| 20 61 6e 64 20 6f 70 65 | 6e 73 20 69 74 2c 20 51 | and ope|ns it, Q|
|00001b30| 75 6f 45 64 69 74 20 72 | 65 6d 65 6d 62 65 72 73 |uoEdit r|emembers|
|00001b40| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 66 | the spe|cified f|
|00001b50| 69 6c 65 20 61 73 20 63 | 61 73 65 20 6f 66 20 65 |ile as c|ase of e|
|00001b60| 78 65 63 75 74 69 6e 67 | 20 4f 70 65 6e 20 6d 65 |xecuting| Open me|
|00001b70| 6e 75 20 63 6f 6d 6d 61 | 6e 64 2e 20 42 75 74 20 |nu comma|nd. But |
|00001b80| 6f 70 65 6e 69 6e 67 20 | 66 69 6c 65 20 77 69 74 |opening |file wit|
|00001b90| 68 20 73 63 72 69 70 74 | 20 6d 65 61 6e 73 20 74 |h script| means t|
|00001ba0| 68 65 20 6f 70 65 6e 69 | 6e 67 20 74 61 73 6b 20 |he openi|ng task |
|00001bb0| 69 73 20 61 75 74 6f 6d | 61 74 65 64 20 73 6f 20 |is autom|ated so |
|00001bc0| 74 68 61 74 20 72 65 6d | 65 6d 62 65 72 69 6e 67 |that rem|embering|
|00001bd0| 20 69 74 20 6d 69 67 68 | 74 20 62 65 20 75 6e 6e | it migh|t be unn|
|00001be0| 65 63 65 73 73 61 72 79 | 2e 20 49 6e 20 74 68 69 |ecessary|. In thi|
|00001bf0| 73 20 63 61 73 65 2c 20 | 61 64 64 20 d2 77 69 74 |s case, |add .wit|
|00001c00| 68 6f 75 74 20 72 65 6d | 65 6d 62 65 72 69 6e 67 |hout rem|embering|
|00001c10| d3 20 74 6f 20 74 68 65 | 20 4f 70 65 6e 20 73 74 |. to the| Open st|
|00001c20| 61 74 65 6d 65 6e 74 20 | 61 73 20 74 68 65 20 70 |atement |as the p|
|00001c30| 61 72 61 6d 65 74 65 72 | 2e 0d 0d 32 2e 32 20 20 |arameter|...2.2 |
|00001c40| 50 72 69 6e 74 0d 32 2e | 32 2e 31 20 20 53 68 69 |Print.2.|2.1 Shi|
|00001c50| 66 74 69 6e 67 20 70 61 | 72 61 6d 65 74 65 72 0d |fting pa|rameter.|
|00001c60| 49 66 20 74 68 65 20 6c | 69 6e 65 20 77 69 64 74 |If the l|ine widt|
|00001c70| 68 20 69 73 20 6f 76 65 | 72 20 74 68 65 20 70 72 |h is ove|r the pr|
|00001c80| 69 6e 74 61 62 6c 65 20 | 61 72 65 61 2c 20 79 6f |intable |area, yo|
|00001c90| 75 20 63 61 6e 20 73 68 | 69 66 74 20 74 68 65 20 |u can sh|ift the |
|00001ca0| 63 6f 6e 74 65 6e 74 73 | 20 68 6f 72 69 7a 6f 6e |contents| horizon|
|00001cb0| 74 61 6c 6c 79 20 74 6f | 20 70 72 69 6e 74 20 6f |tally to| print o|
|00001cc0| 75 74 20 74 68 65 20 72 | 65 6d 61 69 6e 69 6e 67 |ut the r|emaining|
|00001cd0| 20 70 61 72 74 2e 0d 59 | 6f 75 20 63 61 6e 20 61 | part..Y|ou can a|
|00001ce0| 6c 73 6f 20 73 70 65 63 | 69 66 79 20 74 68 65 20 |lso spec|ify the |
|00001cf0| 76 65 72 74 69 63 61 6c | 20 64 69 72 65 63 74 69 |vertical| directi|
|00001d00| 6f 6e 2e 20 42 75 74 20 | 6e 6f 74 65 20 74 68 61 |on. But |note tha|
|00001d10| 74 20 74 68 65 20 68 65 | 61 64 65 72 20 70 6f 73 |t the he|ader pos|
|00001d20| 69 74 69 6f 6e 20 63 61 | 6e 6e 6f 74 20 6d 6f 76 |ition ca|nnot mov|
|00001d30| 65 20 74 6f 20 75 70 70 | 65 72 20 64 69 72 65 63 |e to upp|er direc|
|00001d40| 74 69 6f 6e 2e 0d 41 6e | 64 20 6e 6f 74 65 20 74 |tion..An|d note t|
|00001d50| 68 61 74 20 74 68 65 20 | 66 6f 6f 74 65 72 20 70 |hat the |footer p|
|00001d60| 6f 73 69 74 69 6f 6e 20 | 6e 65 76 65 72 20 6d 6f |osition |never mo|
|00001d70| 76 65 73 20 74 6f 20 74 | 68 65 20 65 69 74 68 65 |ves to t|he eithe|
|00001d80| 72 20 64 69 72 65 63 74 | 69 6f 6e 2e 0d 0d 32 2e |r direct|ion...2.|
|00001d90| 32 2e 32 20 20 4c 69 6e | 65 73 20 70 61 72 61 6d |2.2 Lin|es param|
|00001da0| 65 74 65 72 0d 59 6f 75 | 20 63 61 6e 20 73 70 65 |eter.You| can spe|
|00001db0| 63 69 66 79 20 6c 69 6e | 65 73 20 74 6f 20 62 65 |cify lin|es to be|
|00001dc0| 20 70 72 69 6e 74 65 64 | 20 69 6e 20 65 61 63 68 | printed| in each|
|00001dd0| 20 70 61 67 65 2e 20 4e | 6f 74 65 20 74 68 61 74 | page. N|ote that|
|00001de0| 20 64 65 74 65 72 6d 69 | 6e 69 6e 67 20 74 68 65 | determi|ning the|
|00001df0| 20 6c 69 6e 65 73 20 6e | 75 6d 62 65 72 20 69 73 | lines n|umber is|
|00001e00| 20 79 6f 75 72 20 72 65 | 73 70 6f 6e 73 69 62 69 | your re|sponsibi|
|00001e10| 6c 69 74 79 2e 20 59 6f | 75 20 63 61 6e 20 67 65 |lity. Yo|u can ge|
|00001e20| 74 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 6c 69 |t the de|fault li|
|00001e30| 6e 65 73 20 75 6e 64 65 | 72 20 74 68 65 20 63 75 |nes unde|r the cu|
|00001e40| 72 72 65 6e 74 20 63 6f | 6e 64 69 74 69 6f 6e 20 |rrent co|ndition |
|00001e50| 62 79 20 d4 6c 69 6e 65 | 73 20 70 65 72 20 70 61 |by .line|s per pa|
|00001e60| 67 65 d5 20 70 72 6f 70 | 65 72 74 79 20 6f 66 20 |ge. prop|erty of |
|00001e70| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 20 28 64 6f |the docu|ment (do|
|00001e80| 63 75 6d 65 6e 74 20 70 | 72 6f 70 73 29 2e 0d 0d |cument p|rops)...|
|00001e90| 32 2e 33 20 20 47 65 74 | 0d 32 2e 33 2e 31 20 20 |2.3 Get|.2.3.1 |
|00001ea0| 47 65 74 20 63 6f 6d 6d | 61 6e 64 20 66 6f 72 20 |Get comm|and for |
|00001eb0| 51 75 6f 45 64 69 74 0d | d4 47 65 74 d5 20 69 73 |QuoEdit.|.Get. is|
|00001ec0| 20 63 6f 6d 6d 6f 6e 20 | 74 6f 20 74 68 65 20 73 | common |to the s|
|00001ed0| 74 61 6e 64 61 72 64 20 | 63 6f 6d 6d 61 6e 64 20 |tandard |command |
|00001ee0| 6f 66 20 41 70 70 6c 65 | 53 63 72 69 70 74 2e 20 |of Apple|Script. |
|00001ef0| 54 68 69 73 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |This com|mand is |
|00001f00| 73 65 6e 74 20 74 6f 20 | 51 75 6f 45 64 69 74 20 |sent to |QuoEdit |
|00001f10| 69 66 20 74 68 65 20 6f | 62 6a 65 63 74 20 77 68 |if the o|bject wh|
|00001f20| 6f 73 65 20 64 61 74 61 | 20 69 73 20 74 6f 20 62 |ose data| is to b|
|00001f30| 65 20 72 65 74 75 72 6e | 65 64 20 62 65 6c 6f 6e |e return|ed belon|
|00001f40| 67 73 20 74 6f 20 51 75 | 6f 45 64 69 74 2e 0d 0d |gs to Qu|oEdit...|
|00001f50| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 73 75 70 |For exam|ple, sup|
|00001f60| 70 6f 73 65 20 79 6f 75 | 20 61 72 65 20 67 65 74 |pose you| are get|
|00001f70| 74 69 6e 67 20 63 6f 75 | 6e 74 20 6f 66 20 63 68 |ting cou|nt of ch|
|00001f80| 61 72 61 63 74 65 72 73 | 20 69 6e 20 66 69 72 73 |aracters| in firs|
|00001f90| 74 20 70 61 72 61 67 72 | 61 70 68 20 69 6e 20 74 |t paragr|aph in t|
|00001fa0| 68 65 20 66 72 6f 6e 74 | 20 64 6f 63 75 6d 65 6e |he front| documen|
|00001fb0| 74 20 62 79 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |t by the| followi|
|00001fc0| 6e 67 20 73 63 72 69 70 | 74 2e 0d 09 74 65 6c 6c |ng scrip|t...tell|
|00001fd0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 22 51 75 | applica|tion "Qu|
|00001fe0| 6f 45 64 69 74 22 0d 09 | 09 67 65 74 20 70 61 72 |oEdit"..|.get par|
|00001ff0| 61 67 72 61 70 68 20 31 | 20 6f 66 20 64 6f 63 75 |agraph 1| of docu|
|00002000| 6d 65 6e 74 20 31 0d 09 | 09 67 65 74 20 6c 65 6e |ment 1..|.get len|
|00002010| 67 74 68 20 6f 66 20 72 | 65 73 75 6c 74 0d 09 65 |gth of r|esult..e|
|00002020| 6e 64 20 74 65 6c 6c 0d | 54 68 65 20 66 69 72 73 |nd tell.|The firs|
|00002030| 74 20 d4 67 65 74 d5 20 | 63 6f 6d 6d 61 6e 64 20 |t .get. |command |
|00002040| 69 73 20 61 63 74 75 61 | 6c 6c 79 20 73 65 6e 74 |is actua|lly sent|
|00002050| 20 74 6f 20 51 75 6f 45 | 64 69 74 20 61 6e 64 20 | to QuoE|dit and |
|00002060| 69 74 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 72 |it retur|ns the r|
|00002070| 65 73 75 6c 74 20 61 73 | 20 73 74 72 69 6e 67 2e |esult as| string.|
|00002080| 0d 42 75 74 20 6e 6f 74 | 65 20 74 68 61 74 20 74 |.But not|e that t|
|00002090| 68 65 20 73 65 63 6f 6e | 64 20 d4 67 65 74 d5 20 |he secon|d .get. |
|000020a0| 63 6f 6d 6d 61 6e 64 20 | 69 73 20 68 61 6e 64 6c |command |is handl|
|000020b0| 65 64 20 62 79 20 41 70 | 70 6c 65 53 63 72 69 70 |ed by Ap|pleScrip|
|000020c0| 74 20 65 76 65 6e 20 69 | 66 20 69 74 20 69 73 20 |t even i|f it is |
|000020d0| 70 75 74 20 69 6e 73 69 | 64 65 20 74 68 65 20 74 |put insi|de the t|
|000020e0| 65 6c 6c 20 73 74 61 74 | 65 6d 65 6e 74 73 20 74 |ell stat|ements t|
|000020f0| 6f 20 51 75 6f 45 64 69 | 74 20 62 65 63 61 75 73 |o QuoEdi|t becaus|
|00002100| 65 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 76 |e value |of the v|
|00002110| 61 72 69 61 62 6c 65 20 | 72 65 73 75 6c 74 20 69 |ariable |result i|
|00002120| 73 20 6a 75 73 74 20 61 | 20 73 74 72 69 6e 67 2e |s just a| string.|
|00002130| 0d 41 6e 64 20 6e 6f 74 | 65 20 74 68 61 74 20 41 |.And not|e that A|
|00002140| 70 70 6c 65 53 63 72 69 | 70 74 20 6d 61 79 20 72 |ppleScri|pt may r|
|00002150| 65 74 75 72 6e 20 69 6e | 63 6f 72 72 65 63 74 20 |eturn in|correct |
|00002160| 6c 65 6e 67 74 68 20 76 | 61 6c 75 65 20 69 66 20 |length v|alue if |
|00002170| 79 6f 75 20 61 72 65 20 | 65 64 69 74 69 6e 67 20 |you are |editing |
|00002180| 66 6f 72 65 69 67 6e 20 | 6c 61 6e 67 75 61 67 65 |foreign |language|
|00002190| 20 74 65 78 74 20 6f 72 | 20 75 73 69 6e 67 20 66 | text or| using f|
|000021a0| 6f 72 65 69 67 6e 20 73 | 79 73 74 65 6d 2e 20 28 |oreign s|ystem. (|
|000021b0| 49 66 20 79 6f 75 20 6e | 65 76 65 72 20 65 64 69 |If you n|ever edi|
|000021c0| 74 20 32 2d 62 79 74 65 | 20 6c 61 6e 67 75 61 67 |t 2-byte| languag|
|000021d0| 65 2c 20 69 74 20 69 73 | 20 6e 6f 74 20 63 6f 6e |e, it is| not con|
|000021e0| 73 69 64 65 72 61 62 6c | 65 2e 20 42 75 74 20 63 |siderabl|e. But c|
|000021f0| 6f 75 6e 74 69 6e 67 20 | 77 6f 72 64 20 6d 69 67 |ounting |word mig|
|00002200| 68 74 20 62 65 20 6d 6f | 72 65 20 73 65 72 69 6f |ht be mo|re serio|
|00002210| 75 73 2e 29 20 79 6f 75 | 20 63 61 6e 20 61 76 6f |us.) you| can avo|
|00002220| 69 64 20 74 68 69 73 20 | 70 72 6f 62 6c 65 6d 20 |id this |problem |
|00002230| 62 79 20 67 65 74 74 69 | 6e 67 20 74 68 65 20 6c |by getti|ng the l|
|00002240| 65 6e 67 74 68 20 64 69 | 72 65 63 74 6c 79 20 77 |ength di|rectly w|
|00002250| 69 74 68 20 51 75 6f 45 | 64 69 74 20 6c 69 6b 65 |ith QuoE|dit like|
|00002260| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 2e 0d | the fol|lowing..|
|00002270| 09 74 65 6c 6c 20 61 70 | 70 6c 69 63 61 74 69 6f |.tell ap|plicatio|
|00002280| 6e 20 22 51 75 6f 45 64 | 69 74 22 0d 09 09 67 65 |n "QuoEd|it"...ge|
|00002290| 74 20 6c 65 6e 67 74 68 | 20 6f 66 20 70 61 72 61 |t length| of para|
|000022a0| 67 72 61 70 68 20 31 20 | 6f 66 20 64 6f 63 75 6d |graph 1 |of docum|
|000022b0| 65 6e 74 20 31 0d 09 65 | 6e 64 20 74 65 6c 6c 0d |ent 1..e|nd tell.|
|000022c0| 51 75 6f 45 64 69 74 20 | 63 6f 75 6e 74 73 20 63 |QuoEdit |counts c|
|000022d0| 68 61 72 61 63 74 65 72 | 73 20 70 72 6f 70 65 72 |haracter|s proper|
|000022e0| 6c 79 20 63 6f 6e 73 69 | 64 65 72 69 6e 67 20 74 |ly consi|dering t|
|000022f0| 68 65 20 73 63 72 69 70 | 74 20 28 6c 61 6e 67 75 |he scrip|t (langu|
|00002300| 61 67 65 29 20 73 79 73 | 74 65 6d 20 6f 66 20 74 |age) sys|tem of t|
|00002310| 68 65 20 64 6f 63 75 6d | 65 6e 74 2e 0d 0d 32 2e |he docum|ent...2.|
|00002320| 33 2e 32 20 20 d4 41 73 | d5 20 70 61 72 61 6d 65 |3.2 .As|. parame|
|00002330| 74 65 72 0d 57 68 65 6e | 20 79 6f 75 20 73 70 65 |ter.When| you spe|
|00002340| 63 69 66 79 20 d4 61 73 | d5 20 70 61 72 61 6d 65 |cify .as|. parame|
|00002350| 74 65 72 2c 20 74 68 65 | 72 65 20 63 61 6e 20 62 |ter, the|re can b|
|00002360| 65 20 32 20 73 63 65 6e | 61 72 69 6f 73 20 61 62 |e 2 scen|arios ab|
|00002370| 6f 75 74 20 74 68 65 20 | 63 6f 65 72 63 69 6f 6e |out the |coercion|
|00002380| 2e 20 4f 6e 65 20 69 73 | 20 74 68 61 74 20 51 75 |. One is| that Qu|
|00002390| 6f 45 64 69 74 20 63 6f | 65 72 63 65 73 20 74 68 |oEdit co|erces th|
|000023a0| 65 20 6f 72 69 67 69 6e | 61 6c 20 64 61 74 61 20 |e origin|al data |
|000023b0| 74 79 70 65 20 74 6f 20 | 74 68 65 20 72 65 71 75 |type to |the requ|
|000023c0| 65 73 74 65 64 20 74 79 | 70 65 2e 20 41 6e 6f 74 |ested ty|pe. Anot|
|000023d0| 68 65 72 20 69 73 20 74 | 68 61 74 20 51 75 6f 45 |her is t|hat QuoE|
|000023e0| 64 69 74 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |dit retu|rns the |
|000023f0| 64 61 74 61 20 77 69 74 | 68 6f 75 74 20 74 68 65 |data wit|hout the|
|00002400| 20 63 6f 65 72 63 69 6f | 6e 20 61 6e 64 20 41 70 | coercio|n and Ap|
|00002410| 70 6c 65 53 63 72 69 70 | 74 20 74 72 69 65 73 20 |pleScrip|t tries |
|00002420| 74 68 65 20 63 6f 65 72 | 63 69 6f 6e 2e 20 41 20 |the coer|cion. A |
|00002430| 72 65 73 75 6c 74 20 69 | 6e 20 74 68 65 20 6c 61 |result i|n the la|
|00002440| 74 65 72 20 6f 63 63 61 | 73 69 6f 6e 61 6c 6c 79 |ter occa|sionally|
|00002450| 20 64 65 70 65 6e 64 73 | 20 6f 6e 20 74 68 65 20 | depends| on the |
|00002460| 73 79 73 74 65 6d 20 65 | 6e 76 69 72 6f 6e 6d 65 |system e|nvironme|
|00002470| 6e 74 2e 0d 0d 51 75 6f | 45 64 69 74 20 69 6e 74 |nt...Quo|Edit int|
|00002480| 65 72 6e 61 6c 6c 79 20 | 73 75 70 70 6f 72 74 73 |ernally |supports|
|00002490| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 | the fol|lowing c|
|000024a0| 6f 65 72 63 69 6f 6e 2e | 0d 0d 09 64 65 66 61 75 |oercion.|...defau|
|000024b0| 6c 74 20 64 61 74 61 20 | 74 79 70 65 09 09 09 09 |lt data |type....|
|000024c0| 09 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 64 61 74 |.destina|tion dat|
|000024d0| 61 20 74 79 70 65 0d 09 | 2d 2d 2d 2d 2d 2d 2d 2d |a type..|--------|
|000024e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000024f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002510| 2d 2d 2d 2d 0d 09 73 74 | 72 69 6e 67 20 66 72 6f |----..st|ring fro|
|00002520| 6d 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 64 6f |m conten|ts of do|
|00002530| 63 75 6d 65 6e 74 09 09 | 72 65 66 65 72 65 6e 63 |cument..|referenc|
|00002540| 65 0d 09 73 74 72 69 6e | 67 09 09 09 09 09 09 09 |e..strin|g.......|
|00002550| 73 74 79 6c 65 64 20 74 | 65 78 74 0d 09 73 74 72 |styled t|ext..str|
|00002560| 69 6e 67 09 09 09 09 09 | 09 09 69 6e 74 65 72 6e |ing.....|..intern|
|00002570| 61 74 69 6f 6e 61 6c 20 | 74 65 78 74 0d 09 72 65 |ational |text..re|
|00002580| 66 65 72 65 6e 63 65 09 | 20 74 6f 20 74 65 78 74 |ference.| to text|
|00002590| 09 09 09 09 09 73 74 72 | 69 6e 67 0d 09 72 65 66 |.....str|ing..ref|
|000025a0| 65 72 65 6e 63 65 09 74 | 6f 20 74 65 78 74 09 09 |erence.t|o text..|
|000025b0| 09 09 09 73 74 79 6c 65 | 64 20 74 65 78 74 0d 09 |...style|d text..|
|000025c0| 72 65 66 65 72 65 6e 63 | 65 09 74 6f 20 74 65 78 |referenc|e.to tex|
|000025d0| 74 09 09 09 09 09 69 6e | 74 65 72 6e 61 74 69 6f |t.....in|ternatio|
|000025e0| 6e 61 6c 20 74 65 78 74 | 0d 09 6c 69 73 74 20 61 |nal text|..list a|
|000025f0| 73 20 76 61 6c 75 65 20 | 6f 66 20 63 6c 69 70 62 |s value |of clipb|
|00002600| 6f 61 72 64 09 09 09 73 | 74 72 69 6e 67 0d 09 6c |oard...s|tring..l|
|00002610| 69 73 74 20 61 73 20 76 | 61 6c 75 65 20 6f 66 20 |ist as v|alue of |
|00002620| 63 6c 69 70 62 6f 61 72 | 64 09 09 09 73 74 79 6c |clipboar|d...styl|
|00002630| 65 64 20 74 65 78 74 20 | 28 69 66 20 74 68 65 20 |ed text |(if the |
|00002640| 73 74 79 6c 65 20 69 6e | 66 6f 20 69 73 20 63 6f |style in|fo is co|
|00002650| 6e 74 61 69 6e 65 64 29 | 0d 09 73 74 72 69 6e 67 |ntained)|..string|
|00002660| 20 61 73 20 61 20 66 6f | 6e 74 20 6e 61 6d 65 09 | as a fo|nt name.|
|00002670| 09 09 09 6e 75 6d 62 65 | 72 20 61 73 20 74 68 65 |...numbe|r as the|
|00002680| 20 66 6f 6e 74 20 69 64 | 0d 09 61 6c 69 61 73 09 | font id|..alias.|
|00002690| 09 09 09 09 09 09 09 66 | 69 6c 65 20 73 70 65 63 |.......f|ile spec|
|000026a0| 69 66 69 63 61 74 69 6f | 6e 0d 09 73 63 72 69 70 |ificatio|n..scrip|
|000026b0| 74 09 09 09 09 09 09 09 | 73 74 72 69 6e 67 20 2a |t.......|string *|
|000026c0| 0d 09 73 63 72 69 70 74 | 09 09 09 09 09 09 09 73 |..script|.......s|
|000026d0| 74 79 6c 65 64 20 74 65 | 78 74 20 2a 0d 09 73 63 |tyled te|xt *..sc|
|000026e0| 72 69 70 74 09 09 09 09 | 09 09 09 69 6e 74 65 72 |ript....|...inter|
|000026f0| 6e 61 74 69 6f 6e 61 6c | 20 74 65 78 74 20 2a 0d |national| text *.|
|00002700| 09 61 6e 79 74 68 69 6e | 67 20 61 73 20 73 63 72 |.anythin|g as scr|
|00002710| 69 70 74 20 65 78 65 63 | 75 74 69 6f 6e 20 72 65 |ipt exec|ution re|
|00002720| 73 75 6c 74 09 61 6e 79 | 74 68 69 6e 67 20 2a 0d |sult.any|thing *.|
|00002730| 0d 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 74 68 |.For exa|mple, th|
|00002740| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 73 63 72 69 |e follow|ing scri|
|00002750| 70 74 20 69 73 20 61 20 | 76 61 72 69 61 74 69 6f |pt is a |variatio|
|00002760| 6e 20 6f 66 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 |n of an |example |
|00002770| 61 62 6f 76 65 2e 0d 09 | 74 65 6c 6c 20 61 70 70 |above...|tell app|
|00002780| 6c 69 63 61 74 69 6f 6e | 20 22 51 75 6f 45 64 69 |lication| "QuoEdi|
|00002790| 74 22 0d 09 09 67 65 74 | 20 70 61 72 61 67 72 61 |t"...get| paragra|
|000027a0| 70 68 20 31 20 6f 66 20 | 64 6f 63 75 6d 65 6e 74 |ph 1 of |document|
|000027b0| 20 31 20 61 73 20 73 74 | 79 6c 65 64 20 74 65 78 | 1 as st|yled tex|
|000027c0| 74 0d 09 09 67 65 74 20 | 6c 65 6e 67 74 68 20 6f |t...get |length o|
|000027d0| 66 20 72 65 73 75 6c 74 | 0d 09 65 6e 64 20 74 65 |f result|..end te|
|000027e0| 6c 6c 0d 41 73 20 61 20 | 73 74 79 6c 65 64 20 74 |ll.As a |styled t|
|000027f0| 65 78 74 20 69 73 20 70 | 61 73 73 65 64 20 74 6f |ext is p|assed to|
|00002800| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 d4 67 65 74 | the sec|ond .get|
|00002810| d5 20 63 6f 6d 6d 61 6e | 64 20 69 6e 20 74 68 69 |. comman|d in thi|
|00002820| 73 20 63 61 73 65 2c 20 | 6e 6f 77 20 41 70 70 6c |s case, |now Appl|
|00002830| 65 53 63 72 69 70 74 20 | 63 61 6e 20 63 6f 75 6e |eScript |can coun|
|00002840| 74 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |t the ch|aracters|
|00002850| 20 70 72 6f 70 65 72 6c | 79 20 63 6f 6e 73 69 64 | properl|y consid|
|00002860| 65 72 69 6e 67 20 74 68 | 65 20 73 63 72 69 70 74 |ering th|e script|
|00002870| 20 28 6c 61 6e 67 75 61 | 67 65 29 20 73 79 73 74 | (langua|ge) syst|
|00002880| 65 6d 2e 0d 0d 2a 20 44 | 65 70 65 6e 64 73 20 6f |em...* D|epends o|
|00002890| 6e 20 74 68 65 20 73 63 | 72 69 70 74 69 6e 67 20 |n the sc|ripting |
|000028a0| 63 6f 6d 70 6f 6e 65 6e | 74 2e 0d 0d 32 2e 34 20 |componen|t...2.4 |
|000028b0| 20 53 65 74 0d d4 53 65 | 74 d5 20 69 73 20 63 6f | Set..Se|t. is co|
|000028c0| 6d 6d 6f 6e 20 74 6f 20 | 74 68 65 20 73 74 61 6e |mmon to |the stan|
|000028d0| 64 61 72 64 20 63 6f 6d | 6d 61 6e 64 20 6f 66 20 |dard com|mand of |
|000028e0| 41 70 70 6c 65 53 63 72 | 69 70 74 2e 20 4c 69 6b |AppleScr|ipt. Lik|
|000028f0| 65 20 74 68 65 20 d4 67 | 65 74 d5 20 63 6f 6d 6d |e the .g|et. comm|
|00002900| 61 6e 64 20 64 65 73 63 | 72 69 62 65 64 20 61 62 |and desc|ribed ab|
|00002910| 6f 76 65 2c 20 74 68 69 | 73 20 63 6f 6d 6d 61 6e |ove, thi|s comman|
|00002920| 64 20 69 73 20 73 65 6e | 74 20 74 6f 20 51 75 6f |d is sen|t to Quo|
|00002930| 45 64 69 74 20 69 66 20 | 74 68 65 20 6f 62 6a 65 |Edit if |the obje|
|00002940| 63 74 20 77 68 6f 73 65 | 20 64 61 74 61 20 69 73 |ct whose| data is|
|00002950| 20 74 6f 20 62 65 20 73 | 65 74 20 62 65 6c 6f 6e | to be s|et belon|
|00002960| 67 73 20 74 6f 20 51 75 | 6f 45 64 69 74 2e 0d 42 |gs to Qu|oEdit..B|
|00002970| 75 74 20 75 6e 6c 69 6b | 65 20 41 70 70 6c 65 53 |ut unlik|e AppleS|
|00002980| 63 72 69 70 74 2c 20 51 | 75 6f 45 64 69 74 20 64 |cript, Q|uoEdit d|
|00002990| 6f 65 73 20 6e 6f 74 20 | 72 65 74 75 72 6e 20 72 |oes not |return r|
|000029a0| 65 73 75 6c 74 20 76 61 | 6c 75 65 20 66 6f 72 20 |esult va|lue for |
|000029b0| 74 68 69 73 20 63 6f 6d | 6d 61 6e 64 2a 2e 0d 0d |this com|mand*...|
|000029c0| 2a 20 41 63 74 75 61 6c | 6c 79 20 69 6e 20 41 70 |* Actual|ly in Ap|
|000029d0| 70 6c 65 20 65 76 65 6e | 74 20 64 65 66 69 6e 69 |ple even|t defini|
|000029e0| 74 69 6f 6e 73 20 62 79 | 20 41 70 70 6c 65 20 43 |tions by| Apple C|
|000029f0| 6f 6d 70 75 74 65 72 2c | 20 d4 73 65 74 d5 20 65 |omputer,| .set. e|
|00002a00| 76 65 6e 74 20 69 73 20 | 6e 6f 74 20 64 65 66 69 |vent is |not defi|
|00002a10| 6e 65 64 20 74 6f 20 72 | 65 74 75 72 6e 20 74 68 |ned to r|eturn th|
|00002a20| 65 20 72 65 73 75 6c 74 | 20 28 65 78 63 65 70 74 |e result| (except|
|00002a30| 20 74 68 65 20 65 72 72 | 6f 72 29 2e 0d 0d 32 2e | the err|or)...2.|
|00002a40| 35 20 20 44 61 74 61 20 | 53 69 7a 65 0d 49 6e 20 |5 Data |Size.In |
|00002a50| 51 75 6f 45 64 69 74 2c | 20 d4 64 61 74 61 20 73 |QuoEdit,| .data s|
|00002a60| 69 7a 65 d5 20 63 6f 6d | 6d 61 6e 64 20 77 6f 72 |ize. com|mand wor|
|00002a70| 6b 73 20 6f 6e 6c 79 20 | 66 6f 72 20 62 79 74 65 |ks only |for byte|
|00002a80| 20 6c 65 6e 67 74 68 20 | 6f 66 20 70 6c 61 69 6e | length |of plain|
|00002a90| 20 74 65 78 74 20 28 74 | 68 61 74 20 63 6f 6e 74 | text (t|hat cont|
|00002aa0| 61 69 6e 73 20 6e 6f 20 | 73 74 79 6c 65 20 69 6e |ains no |style in|
|00002ab0| 66 6f 72 6d 61 74 69 6f | 6e 20 6e 6f 72 20 6f 74 |formatio|n nor ot|
|00002ac0| 68 65 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 29 |her info|rmation)|
|00002ad0| 2e 2a 0d 4e 6f 74 65 20 | 74 68 61 74 20 65 76 65 |.*.Note |that eve|
|00002ae0| 6e 20 69 66 20 79 6f 75 | 20 73 70 65 63 69 66 79 |n if you| specify|
|00002af0| 20 61 20 64 6f 63 75 6d | 65 6e 74 20 6f 72 20 74 | a docum|ent or t|
|00002b00| 68 65 20 77 69 6e 64 6f | 77 20 61 73 20 74 68 65 |he windo|w as the|
|00002b10| 20 6f 62 6a 65 63 74 2c | 20 51 75 6f 45 64 69 74 | object,| QuoEdit|
|00002b20| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 62 79 74 | returns| the byt|
|00002b30| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |e length| of the |
|00002b40| 74 65 78 74 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |text inc|luded in|
|00002b50| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 77 69 | the doc|ument wi|
|00002b60| 6e 64 6f 77 2e 0d 59 6f | 75 20 63 61 6e 20 61 6c |ndow..Yo|u can al|
|00002b70| 73 6f 20 75 73 65 20 d4 | 64 61 74 61 20 73 69 7a |so use .|data siz|
|00002b80| 65 d5 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 67 65 |e. comma|nd to ge|
|00002b90| 74 20 64 61 74 61 20 73 | 69 7a 65 20 6f 66 20 74 |t data s|ize of t|
|00002ba0| 65 78 74 20 69 6e 20 74 | 68 65 20 63 6c 69 70 62 |ext in t|he clipb|
|00002bb0| 6f 61 72 64 2e 20 4a 75 | 73 74 20 73 70 65 63 69 |oard. Ju|st speci|
|00002bc0| 66 79 20 d4 63 6c 69 70 | 62 6f 61 72 64 d5 20 70 |fy .clip|board. p|
|00002bd0| 72 6f 70 65 72 74 79 20 | 6f 66 20 74 68 65 20 61 |roperty |of the a|
|00002be0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 42 75 74 20 |pplicati|on. But |
|00002bf0| 6e 65 76 65 72 20 66 6f | 72 67 65 74 20 74 6f 20 |never fo|rget to |
|00002c00| 61 63 74 69 76 61 74 65 | 20 51 75 6f 45 64 69 74 |activate| QuoEdit|
|00002c10| 2e 0d 09 74 65 6c 6c 20 | 61 70 70 6c 69 63 61 74 |...tell |applicat|
|00002c20| 69 6f 6e 20 22 51 75 6f | 45 64 69 74 22 0d 09 09 |ion "Quo|Edit"...|
|00002c30| 61 63 74 69 76 61 74 65 | 0d 09 09 64 61 74 61 20 |activate|...data |
|00002c40| 73 69 7a 65 20 6f 66 20 | 63 6c 69 70 62 6f 61 72 |size of |clipboar|
|00002c50| 64 0d 09 65 6e 64 20 74 | 65 6c 6c 0d 0d 2a 20 54 |d..end t|ell..* T|
|00002c60| 68 65 20 62 65 68 61 76 | 69 6f 72 20 64 65 73 63 |he behav|ior desc|
|00002c70| 72 69 62 65 64 20 68 65 | 72 65 20 69 73 20 61 20 |ribed he|re is a |
|00002c80| 6b 69 6e 64 20 6f 66 20 | 6c 61 7a 79 2e 20 41 70 |kind of |lazy. Ap|
|00002c90| 70 6c 65 20 65 76 65 6e | 74 20 d4 64 61 74 61 20 |ple even|t .data |
|00002ca0| 73 69 7a 65 d5 20 69 73 | 20 6f 72 69 67 69 6e 61 |size. is| origina|
|00002cb0| 6c 6c 79 20 64 65 66 69 | 6e 65 64 20 74 6f 20 73 |lly defi|ned to s|
|00002cc0| 75 70 70 6f 72 74 20 76 | 61 72 69 6f 75 73 20 6b |upport v|arious k|
|00002cd0| 69 6e 64 73 20 6f 66 20 | 64 61 74 61 20 73 69 7a |inds of |data siz|
|00002ce0| 65 2e 0d 0d 32 2e 36 20 | 20 4d 61 6b 65 0d 4d 61 |e...2.6 | Make.Ma|
|00002cf0| 6b 65 73 20 61 20 6e 65 | 77 20 65 6c 65 6d 65 6e |kes a ne|w elemen|
|00002d00| 74 20 61 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 74 |t accord|ing to t|
|00002d10| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 70 61 72 |he speci|fied par|
|00002d20| 61 6d 65 74 65 72 73 2e | 20 54 68 65 20 77 6f 72 |ameters.| The wor|
|00002d30| 64 20 d2 6e 65 77 d3 20 | 69 73 20 6f 70 74 69 6f |d .new. |is optio|
|00002d40| 6e 61 6c 20 69 6e 20 41 | 70 70 6c 65 53 63 72 69 |nal in A|ppleScri|
|00002d50| 70 74 2e 0d 0d 32 2e 36 | 2e 31 20 20 49 6e 69 74 |pt...2.6|.1 Init|
|00002d60| 69 61 6c 20 64 61 74 61 | 20 66 6f 72 20 64 6f 63 |ial data| for doc|
|00002d70| 75 6d 65 6e 74 0d 57 68 | 65 6e 20 79 6f 75 20 63 |ument.Wh|en you c|
|00002d80| 72 65 61 74 65 20 61 20 | 64 6f 63 75 6d 65 6e 74 |reate a |document|
|00002d90| 20 6f 62 6a 65 63 74 2c | 20 79 6f 75 20 63 61 6e | object,| you can|
|00002da0| 20 73 70 65 63 69 66 79 | 20 69 6e 69 74 69 61 6c | specify| initial|
|00002db0| 20 64 61 74 61 20 66 6f | 72 20 74 68 65 20 63 6f | data fo|r the co|
|00002dc0| 6e 74 65 6e 74 73 2e 0d | 09 74 65 6c 6c 20 61 70 |ntents..|.tell ap|
|00002dd0| 70 6c 69 63 61 74 69 6f | 6e 20 22 51 75 6f 45 64 |plicatio|n "QuoEd|
|00002de0| 69 74 22 0d 09 09 6d 61 | 6b 65 20 6e 65 77 20 64 |it"...ma|ke new d|
|00002df0| 6f 63 75 6d 65 6e 74 20 | 77 69 74 68 20 64 61 74 |ocument |with dat|
|00002e00| 61 20 69 6e 69 74 69 61 | 6c 44 61 74 61 0d 09 65 |a initia|lData..e|
|00002e10| 6e 64 20 74 65 6c 6c 0d | 48 65 72 65 2c 20 74 68 |nd tell.|Here, th|
|00002e20| 65 20 69 6e 69 74 69 61 | 6c 44 61 74 61 20 69 73 |e initia|lData is|
|00002e30| 20 61 20 76 61 72 69 61 | 62 6c 65 20 61 6e 64 20 | a varia|ble and |
|00002e40| 63 61 6e 20 62 65 20 64 | 61 74 61 20 6f 66 20 61 |can be d|ata of a|
|00002e50| 6e 79 20 74 79 70 65 20 | 69 66 20 69 74 20 63 61 |ny type |if it ca|
|00002e60| 6e 20 62 65 20 74 65 78 | 74 2e 20 49 6e 20 6d 6f |n be tex|t. In mo|
|00002e70| 73 74 20 63 61 73 65 73 | 2c 20 51 75 6f 45 64 69 |st cases|, QuoEdi|
|00002e80| 74 20 74 72 69 65 73 20 | 74 6f 20 67 65 74 20 74 |t tries |to get t|
|00002e90| 68 65 20 76 61 6c 75 65 | 20 61 73 20 73 74 72 69 |he value| as stri|
|00002ea0| 6e 67 2e 0d 0d 42 75 74 | 20 74 68 65 72 65 20 61 |ng...But| there a|
|00002eb0| 72 65 20 74 77 6f 20 73 | 70 65 63 69 61 6c 20 63 |re two s|pecial c|
|00002ec0| 61 73 65 73 20 69 6e 20 | 51 75 6f 45 64 69 74 20 |ases in |QuoEdit |
|00002ed0| 61 62 6f 75 74 20 74 68 | 65 20 69 6e 69 74 69 61 |about th|e initia|
|00002ee0| 6c 20 64 61 74 61 2c 20 | 74 68 61 74 20 69 73 2c |l data, |that is,|
|00002ef0| 20 77 68 65 6e 20 74 68 | 65 20 69 6e 69 74 69 61 | when th|e initia|
|00002f00| 6c 20 64 61 74 61 20 69 | 73 20 61 20 73 63 72 69 |l data i|s a scri|
|00002f10| 70 74 20 6f 62 6a 65 63 | 74 20 6f 72 20 d4 65 78 |pt objec|t or .ex|
|00002f20| 65 63 75 74 69 6f 6e 20 | 72 65 73 75 6c 74 d5 20 |ecution |result. |
|00002f30| 70 72 6f 70 65 72 74 79 | 20 6f 66 20 61 70 70 6c |property| of appl|
|00002f40| 69 63 61 74 69 6f 6e 2e | 0d 46 69 72 73 74 2c 20 |ication.|.First, |
|00002f50| 69 66 20 79 6f 75 20 73 | 70 65 63 69 66 79 20 61 |if you s|pecify a|
|00002f60| 20 73 63 72 69 70 74 20 | 6f 62 6a 65 63 74 20 61 | script |object a|
|00002f70| 73 20 74 68 65 20 69 6e | 69 74 69 61 6c 20 64 61 |s the in|itial da|
|00002f80| 74 61 2c 20 51 75 6f 45 | 64 69 74 20 6d 61 6b 65 |ta, QuoE|dit make|
|00002f90| 73 20 61 20 64 6f 63 75 | 6d 65 6e 74 20 77 69 6e |s a docu|ment win|
|00002fa0| 64 6f 77 20 74 6f 20 65 | 64 69 74 20 74 68 65 20 |dow to e|dit the |
|00002fb0| 73 63 72 69 70 74 2e 20 | 28 54 68 65 20 66 65 61 |script. |(The fea|
|00002fc0| 74 75 72 65 20 74 6f 20 | 65 64 69 74 20 73 63 72 |ture to |edit scr|
|00002fd0| 69 70 74 20 77 69 74 68 | 20 51 75 6f 45 64 69 74 |ipt with| QuoEdit|
|00002fe0| 20 69 73 20 64 65 73 63 | 72 69 62 65 64 20 6c 61 | is desc|ribed la|
|00002ff0| 74 65 72 20 69 6e 20 74 | 68 69 73 20 64 6f 63 75 |ter in t|his docu|
|00003000| 6d 65 6e 74 61 74 69 6f | 6e 2e 29 0d 09 6c 6f 61 |mentatio|n.)..loa|
|00003010| 64 20 73 63 72 69 70 74 | 20 28 63 68 6f 6f 73 65 |d script| (choose|
|00003020| 20 66 69 6c 65 29 0d 09 | 74 65 6c 6c 20 61 70 70 | file)..|tell app|
|00003030| 6c 69 63 61 74 69 6f 6e | 20 22 51 75 6f 45 64 69 |lication| "QuoEdi|
|00003040| 74 22 20 74 6f 20 6d 61 | 6b 65 20 6e 65 77 20 64 |t" to ma|ke new d|
|00003050| 6f 63 75 6d 65 6e 74 20 | 77 69 74 68 20 64 61 74 |ocument |with dat|
|00003060| 61 20 72 65 73 75 6c 74 | 0d 53 65 63 6f 6e 64 2c |a result|.Second,|
|00003070| 20 69 66 20 79 6f 75 20 | 73 70 65 63 69 66 79 20 | if you |specify |
|00003080| 74 68 65 20 d4 65 78 65 | 63 75 74 69 6f 6e 20 72 |the .exe|cution r|
|00003090| 65 73 75 6c 74 d5 20 70 | 72 6f 70 65 72 74 79 2c |esult. p|roperty,|
|000030a0| 20 51 75 6f 45 64 69 74 | 20 6d 61 6b 65 73 20 61 | QuoEdit| makes a|
|000030b0| 20 75 73 75 61 6c 20 64 | 6f 63 75 6d 65 6e 74 20 | usual d|ocument |
|000030c0| 77 69 6e 64 6f 77 20 77 | 69 74 68 20 74 68 65 20 |window w|ith the |
|000030d0| 74 65 78 74 20 74 68 61 | 74 20 65 78 70 72 65 73 |text tha|t expres|
|000030e0| 73 65 73 20 74 68 65 20 | 72 65 73 75 6c 74 20 6f |ses the |result o|
|000030f0| 66 20 6c 61 73 74 20 65 | 78 65 63 75 74 65 64 20 |f last e|xecuted |
|00003100| 73 63 72 69 70 74 2e 0d | 09 74 65 6c 6c 20 61 70 |script..|.tell ap|
|00003110| 70 6c 69 63 61 74 69 6f | 6e 20 22 51 75 6f 45 64 |plicatio|n "QuoEd|
|00003120| 69 74 22 0d 09 09 6d 61 | 6b 65 20 6e 65 77 20 64 |it"...ma|ke new d|
|00003130| 6f 63 75 6d 65 6e 74 20 | 77 69 74 68 20 64 61 74 |ocument |with dat|
|00003140| 61 20 65 78 65 63 75 74 | 69 6f 6e 20 72 65 73 75 |a execut|ion resu|
|00003150| 6c 74 0d 09 65 6e 64 20 | 74 65 6c 6c 0d 4e 6f 74 |lt..end |tell.Not|
|00003160| 65 20 74 68 61 74 20 69 | 6e 20 74 68 69 73 20 63 |e that i|n this c|
|00003170| 61 73 65 2c 20 51 75 6f | 45 64 69 74 20 6f 6e 63 |ase, Quo|Edit onc|
|00003180| 65 20 67 65 74 73 20 74 | 68 65 20 74 65 78 74 20 |e gets t|he text |
|00003190| 74 6f 20 64 69 73 70 6c | 61 79 20 74 68 65 20 72 |to displ|ay the r|
|000031a0| 65 73 75 6c 74 20 76 61 | 6c 75 65 20 66 72 6f 6d |esult va|lue from|
|000031b0| 20 74 68 65 20 73 63 72 | 69 70 74 69 6e 67 20 63 | the scr|ipting c|
|000031c0| 6f 6d 70 6f 6e 65 6e 74 | 20 28 75 73 75 61 6c 6c |omponent| (usuall|
|000031d0| 79 20 41 70 70 6c 65 53 | 63 72 69 70 74 29 20 73 |y AppleS|cript) s|
|000031e0| 6f 20 74 68 61 74 20 74 | 68 65 20 64 61 74 61 20 |o that t|he data |
|000031f0| 69 73 20 6e 6f 74 20 61 | 73 20 69 73 2e 20 46 6f |is not a|s is. Fo|
|00003200| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 66 20 74 68 |r exampl|e, if th|
|00003210| 65 20 76 61 6c 75 65 20 | 6f 66 20 d4 65 78 65 63 |e value |of .exec|
|00003220| 75 74 69 6f 6e 20 72 65 | 73 75 6c 74 d5 20 77 61 |ution re|sult. wa|
|00003230| 73 20 61 20 73 74 72 69 | 6e 67 2c 20 71 75 6f 74 |s a stri|ng, quot|
|00003240| 61 74 69 6f 6e 20 6d 61 | 72 6b 73 20 61 72 65 20 |ation ma|rks are |
|00003250| 74 6f 20 62 65 20 61 64 | 64 65 64 2e 20 49 66 20 |to be ad|ded. If |
|00003260| 79 6f 75 20 64 6f 6e d5 | 74 20 77 69 73 68 20 74 |you don.|t wish t|
|00003270| 68 61 74 2c 20 77 72 69 | 74 65 20 74 68 65 20 73 |hat, wri|te the s|
|00003280| 63 72 69 70 74 20 77 69 | 74 68 20 74 77 6f 20 73 |cript wi|th two s|
|00003290| 74 65 70 73 20 6c 69 6b | 65 20 74 68 65 20 66 6f |teps lik|e the fo|
|000032a0| 6c 6c 6f 77 69 6e 67 2e | 0d 09 74 65 6c 6c 20 61 |llowing.|..tell a|
|000032b0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 22 51 75 6f 45 |pplicati|on "QuoE|
|000032c0| 64 69 74 22 0d 09 09 67 | 65 74 20 65 78 65 63 75 |dit"...g|et execu|
|000032d0| 74 69 6f 6e 20 72 65 73 | 75 6c 74 0d 09 09 6d 61 |tion res|ult...ma|
|000032e0| 6b 65 20 6e 65 77 20 64 | 6f 63 75 6d 65 6e 74 20 |ke new d|ocument |
|000032f0| 77 69 74 68 20 64 61 74 | 61 20 72 65 73 75 6c 74 |with dat|a result|
|00003300| 0d 09 65 6e 64 20 74 65 | 6c 6c 0d 0d 32 2e 36 2e |..end te|ll..2.6.|
|00003310| 32 20 20 41 20 63 68 61 | 6e 67 65 64 20 66 65 61 |2 A cha|nged fea|
|00003320| 74 75 72 65 0d 4e 6f 74 | 65 20 74 68 61 74 20 76 |ture.Not|e that v|
|00003330| 65 72 73 69 6f 6e 20 30 | 2e 36 35 20 68 61 64 20 |ersion 0|.65 had |
|00003340| 69 6e 74 65 72 6e 61 6c | 20 63 68 61 6e 67 65 73 |internal| changes|
|00003350| 20 6f 6e 20 62 65 68 61 | 76 69 6f 72 20 6f 66 20 | on beha|vior of |
|00003360| 63 72 65 61 74 69 6e 67 | 20 61 20 6e 65 77 20 64 |creating| a new d|
|00003370| 6f 63 75 6d 65 6e 74 20 | 77 69 74 68 20 74 68 65 |ocument |with the|
|00003380| 20 69 6e 69 74 69 61 6c | 20 64 61 74 61 2e 0d 09 | initial| data...|
|00003390| 6d 61 6b 65 20 6e 65 77 | 20 64 6f 63 75 6d 65 6e |make new| documen|
|000033a0| 74 20 77 69 74 68 20 64 | 61 74 61 20 69 6e 69 74 |t with d|ata init|
|000033b0| 69 61 6c 44 61 74 61 0d | 49 6e 20 74 68 69 73 20 |ialData.|In this |
|000033c0| 63 61 73 65 2c 20 74 68 | 65 20 70 72 6f 63 65 73 |case, th|e proces|
|000033d0| 73 20 69 6e 20 74 68 65 | 20 6f 6c 64 65 72 20 76 |s in the| older v|
|000033e0| 65 72 73 69 6f 6e 73 20 | 77 61 73 2c 20 66 69 72 |ersions |was, fir|
|000033f0| 73 74 20 6d 61 6b 65 20 | 61 20 6e 65 77 20 64 6f |st make |a new do|
|00003400| 63 75 6d 65 6e 74 2c 20 | 74 68 65 6e 20 66 69 6e |cument, |then fin|
|00003410| 64 20 6f 75 74 20 77 68 | 61 74 20 69 73 20 74 68 |d out wh|at is th|
|00003420| 65 20 64 61 74 61 20 76 | 61 6c 75 65 20 61 6e 64 |e data v|alue and|
|00003430| 20 73 65 74 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 | set the| content|
|00003440| 73 20 74 6f 20 74 68 65 | 20 64 61 74 61 2e 20 41 |s to the| data. A|
|00003450| 73 20 61 20 72 65 73 75 | 6c 74 2c 20 69 74 20 77 |s a resu|lt, it w|
|00003460| 61 73 20 61 73 73 75 6d | 65 64 20 74 68 61 74 20 |as assum|ed that |
|00003470| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00003480| 74 68 65 20 6e 65 77 20 | 64 6f 63 75 6d 65 6e 74 |the new |document|
|00003490| 20 77 61 73 20 6f 6e 63 | 65 20 6d 6f 64 69 66 69 | was onc|e modifi|
|000034a0| 65 64 2c 20 73 65 74 74 | 69 6e 67 20 74 68 65 20 |ed, sett|ing the |
|000034b0| 63 6f 6e 74 65 6e 74 73 | 20 77 61 73 20 74 68 65 |contents| was the|
|000034c0| 72 65 66 6f 72 65 20 75 | 6e 64 6f 61 62 6c 65 2c |refore u|ndoable,|
|000034d0| 20 61 6e 64 20 74 68 65 | 20 63 61 72 65 74 20 63 | and the| caret c|
|000034e0| 61 6d 65 20 74 6f 20 74 | 68 65 20 65 6e 64 20 70 |ame to t|he end p|
|000034f0| 6f 73 69 74 69 6f 6e 2e | 0d 4e 6f 77 20 74 68 65 |osition.|.Now the|
|00003500| 20 70 72 6f 63 65 73 73 | 20 69 73 2c 20 66 69 72 | process| is, fir|
|00003510| 73 74 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 61 |st deter|mine wha|
|00003520| 74 20 69 73 20 74 68 65 | 20 64 61 74 61 20 76 61 |t is the| data va|
|00003530| 6c 75 65 2c 20 74 68 65 | 6e 20 6d 61 6b 65 20 6e |lue, the|n make n|
|00003540| 65 77 20 64 6f 63 75 6d | 65 6e 74 20 61 6e 64 20 |ew docum|ent and |
|00003550| 69 6d 6d 65 64 69 61 74 | 65 6c 79 20 73 65 74 20 |immediat|ely set |
|00003560| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 74 6f 20 |the cont|ents to |
|00003570| 74 68 65 20 64 61 74 61 | 2e 20 41 6e 64 20 74 68 |the data|. And th|
|00003580| 65 20 62 65 68 61 76 69 | 6f 72 20 69 73 20 6e 6f |e behavi|or is no|
|00003590| 77 20 61 6e 61 6c 6f 67 | 6f 75 73 20 74 6f 20 6f |w analog|ous to o|
|000035a0| 70 65 6e 69 6e 67 20 61 | 20 73 74 61 74 69 6f 6e |pening a| station|
|000035b0| 65 72 79 20 66 69 6c 65 | 2e 20 41 73 20 61 20 72 |ery file|. As a r|
|000035c0| 65 73 75 6c 74 2c 20 69 | 74 20 69 73 20 61 73 73 |esult, i|t is ass|
|000035d0| 75 6d 65 64 20 74 68 61 | 74 20 74 68 65 20 63 6f |umed tha|t the co|
|000035e0| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 65 20 6e 65 |ntents o|f the ne|
|000035f0| 77 20 64 6f 63 75 6d 65 | 6e 74 20 69 73 20 6e 6f |w docume|nt is no|
|00003600| 74 20 6d 6f 64 69 66 69 | 65 64 2c 20 6e 6f 74 68 |t modifi|ed, noth|
|00003610| 69 6e 67 20 69 73 20 74 | 68 65 72 65 66 6f 72 65 |ing is t|herefore|
|00003620| 20 75 6e 64 6f 61 62 6c | 65 20 69 6e 20 74 68 69 | undoabl|e in thi|
|00003630| 73 20 70 6f 69 6e 74 2c | 20 61 6e 64 20 74 68 65 |s point,| and the|
|00003640| 20 63 61 72 65 74 20 63 | 6f 6d 65 73 20 74 6f 20 | caret c|omes to |
|00003650| 74 68 65 20 73 74 61 72 | 74 20 70 6f 73 69 74 69 |the star|t positi|
|00003660| 6f 6e 2e 0d 0d 41 6e 64 | 20 69 66 20 79 6f 75 20 |on...And| if you |
|00003670| 61 72 65 20 67 6f 69 6e | 67 20 74 6f 20 6d 61 6b |are goin|g to mak|
|00003680| 65 20 61 20 64 6f 63 75 | 6d 65 6e 74 20 61 74 20 |e a docu|ment at |
|00003690| 66 72 6f 6e 74 20 77 69 | 74 68 20 74 65 78 74 20 |front wi|th text |
|000036a0| 66 72 6f 6d 20 74 68 65 | 20 63 75 72 72 65 6e 74 |from the| current|
|000036b0| 20 66 72 6f 6e 74 20 64 | 6f 63 75 6d 65 6e 74 2c | front d|ocument,|
|000036c0| 20 6e 6f 77 20 79 6f 75 | 20 63 61 6e 20 6e 61 74 | now you| can nat|
|000036d0| 75 72 61 6c 6c 79 20 77 | 72 69 74 65 20 74 68 65 |urally w|rite the|
|000036e0| 20 73 74 61 74 65 6d 65 | 6e 74 20 6c 69 6b 65 20 | stateme|nt like |
|000036f0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 2e 0d 09 |the foll|owing...|
|00003700| 6d 61 6b 65 20 6e 65 77 | 20 64 6f 63 75 6d 65 6e |make new| documen|
|00003710| 74 20 77 69 74 68 20 64 | 61 74 61 20 73 65 6c 65 |t with d|ata sele|
|00003720| 63 74 69 6f 6e 20 6f 66 | 20 64 6f 63 75 6d 65 6e |ction of| documen|
|00003730| 74 20 31 0d 28 49 6e 20 | 6f 6c 64 65 72 20 76 65 |t 1.(In |older ve|
|00003740| 72 73 69 6f 6e 73 2c 20 | 79 6f 75 20 68 61 64 20 |rsions, |you had |
|00003750| 74 6f 20 73 70 65 63 69 | 66 79 20 69 6e 64 65 78 |to speci|fy index|
|00003760| 20 32 20 66 6f 72 20 74 | 68 65 20 63 75 72 72 65 | 2 for t|he curre|
|00003770| 6e 74 20 66 72 6f 6e 74 | 20 64 6f 63 75 6d 65 6e |nt front| documen|
|00003780| 74 20 62 65 63 61 75 73 | 65 20 6f 66 20 74 68 65 |t becaus|e of the|
|00003790| 20 69 6e 74 65 72 6e 61 | 6c 20 70 72 6f 63 65 73 | interna|l proces|
|000037a0| 73 20 64 65 73 63 72 69 | 62 65 64 20 61 62 6f 76 |s descri|bed abov|
|000037b0| 65 2e 29 0d 0d 32 2e 37 | 20 20 53 61 76 65 0d 49 |e.)..2.7| Save.I|
|000037c0| 6e 20 51 75 6f 45 64 69 | 74 2c 20 74 68 65 20 66 |n QuoEdi|t, the f|
|000037d0| 6f 6c 6c 6f 77 69 6e 67 | 20 6f 62 6a 65 63 74 73 |ollowing| objects|
|000037e0| 20 61 72 65 20 73 75 70 | 70 6f 72 74 65 64 20 62 | are sup|ported b|
|000037f0| 79 20 74 68 65 20 d4 73 | 61 76 65 d5 20 63 6f 6d |y the .s|ave. com|
|00003800| 6d 61 6e 64 3a 0d 09 64 | 6f 63 75 6d 65 6e 74 20 |mand:..d|ocument |
|00003810| 28 77 69 6e 64 6f 77 29 | 0d 09 73 63 72 69 70 74 |(window)|..script|
|00003820| 0d 09 74 65 78 74 20 6f | 62 6a 65 63 74 20 69 6e |..text o|bject in|
|00003830| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 0d 09 61 | the doc|ument..a|
|00003840| 74 74 61 63 68 6d 65 6e | 74 20 6f 66 20 6d 65 6e |ttachmen|t of men|
|00003850| 75 20 69 74 65 6d 20 69 | 66 20 74 68 65 20 76 61 |u item i|f the va|
|00003860| 6c 75 65 20 74 79 70 65 | 20 69 73 20 73 63 72 69 |lue type| is scri|
|00003870| 70 74 20 6f 62 6a 65 63 | 74 0d 0d 57 68 65 6e 20 |pt objec|t..When |
|00003880| 79 6f 75 20 73 61 76 65 | 20 75 6e 73 61 76 65 64 |you save| unsaved|
|00003890| 20 6f 62 6a 65 63 74 20 | 77 69 74 68 6f 75 74 20 | object |without |
|000038a0| d4 69 6e d5 20 70 61 72 | 61 6d 65 74 65 72 20 28 |.in. par|ameter (|
|000038b0| 74 6f 20 73 70 65 63 69 | 66 79 20 61 20 6e 65 77 |to speci|fy a new|
|000038c0| 20 66 69 6c 65 29 2c 20 | 51 75 6f 45 64 69 74 20 | file), |QuoEdit |
|000038d0| 74 72 69 65 73 20 74 6f | 20 73 68 6f 77 20 74 68 |tries to| show th|
|000038e0| 65 20 73 61 76 65 20 64 | 69 61 6c 6f 67 20 62 6f |e save d|ialog bo|
|000038f0| 78 20 73 6f 20 74 68 61 | 74 20 79 6f 75 20 73 68 |x so tha|t you sh|
|00003900| 6f 75 6c 64 20 61 63 74 | 69 76 61 74 65 20 51 75 |ould act|ivate Qu|
|00003910| 6f 45 64 69 74 20 62 65 | 66 6f 72 65 20 73 61 76 |oEdit be|fore sav|
|00003920| 69 6e 67 2e 0d 41 6e 64 | 20 d4 72 65 6d 65 6d 62 |ing..And| .rememb|
|00003930| 65 72 69 6e 67 d5 20 70 | 61 72 61 6d 65 74 65 72 |ering. p|arameter|
|00003940| 20 68 61 73 20 74 68 65 | 20 73 65 6e 73 65 20 6f | has the| sense o|
|00003950| 6e 6c 79 20 77 68 65 6e | 20 73 61 76 69 6e 67 20 |nly when| saving |
|00003960| 6e 6f 72 6d 61 6c 20 64 | 6f 63 75 6d 65 6e 74 20 |normal d|ocument |
|00003970| 28 64 6f 63 75 6d 65 6e | 74 20 77 68 6f 73 65 20 |(documen|t whose |
|00003980| d4 65 64 69 74 20 74 79 | 70 65 d5 20 69 73 20 74 |.edit ty|pe. is t|
|00003990| 65 78 74 29 20 77 69 74 | 68 20 74 68 65 20 d4 69 |ext) wit|h the .i|
|000039a0| 6e d5 20 70 61 72 61 6d | 65 74 65 72 20 73 70 65 |n. param|eter spe|
|000039b0| 63 69 66 79 69 6e 67 20 | 61 20 6e 65 77 20 66 69 |cifying |a new fi|
|000039c0| 6c 65 2e 0d 0d 32 2e 38 | 20 20 43 75 74 20 2f 20 |le...2.8| Cut / |
|000039d0| 44 6f 20 43 6f 70 79 20 | 2f 20 50 61 73 74 65 0d |Do Copy |/ Paste.|
|000039e0| 32 2e 38 2e 31 20 20 41 | 63 74 69 76 61 74 69 6e |2.8.1 A|ctivatin|
|000039f0| 67 0d 42 65 66 6f 72 65 | 20 6c 65 74 74 69 6e 67 |g.Before| letting|
|00003a00| 20 51 75 6f 45 64 69 74 | 20 64 6f 20 74 68 65 73 | QuoEdit| do thes|
|00003a10| 65 20 61 63 74 69 6f 6e | 73 20 62 79 20 73 63 72 |e action|s by scr|
|00003a20| 69 70 74 2c 20 61 63 74 | 69 76 61 74 65 20 51 75 |ipt, act|ivate Qu|
|00003a30| 6f 45 64 69 74 20 66 69 | 72 73 74 20 62 65 63 61 |oEdit fi|rst beca|
|00003a40| 75 73 65 20 63 75 74 74 | 69 6e 67 2c 20 63 6f 70 |use cutt|ing, cop|
|00003a50| 79 69 6e 67 20 6f 72 20 | 70 61 73 74 69 6e 67 20 |ying or |pasting |
|00003a60| 69 6e 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 77 69 |in backg|round wi|
|00003a70| 6c 6c 20 62 65 20 66 61 | 69 6c 65 64 2e 20 4e 6f |ll be fa|iled. No|
|00003a80| 74 65 20 74 68 61 74 20 | 51 75 6f 45 64 69 74 20 |te that |QuoEdit |
|00003a90| 64 6f 65 73 20 6e 6f 74 | 20 63 68 65 63 6b 20 77 |does not| check w|
|00003aa0| 68 65 74 68 65 72 20 69 | 74 20 69 73 20 66 72 6f |hether i|t is fro|
|00003ab0| 6e 74 6d 6f 73 74 20 6f | 72 20 62 61 63 6b 67 72 |ntmost o|r backgr|
|00003ac0| 6f 75 6e 64 2e 0d 0d 32 | 2e 38 2e 32 20 20 44 6f |ound...2|.8.2 Do|
|00003ad0| 20 43 6f 70 79 0d 41 63 | 74 75 61 6c 6c 79 20 77 | Copy.Ac|tually w|
|00003ae0| 6f 72 6b 73 20 61 73 20 | d4 63 6f 70 79 d5 20 63 |orks as |.copy. c|
|00003af0| 6f 6d 6d 61 6e 64 2e 20 | 41 6c 6c 20 74 68 65 20 |ommand. |All the |
|00003b00| 66 75 6e 63 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |function| of the |
|00003b10| d4 63 6f 70 79 d5 20 63 | 6f 6d 6d 61 6e 64 20 69 |.copy. c|ommand i|
|00003b20| 6e 20 51 75 6f 45 64 69 | 74 20 69 73 20 74 6f 20 |n QuoEdi|t is to |
|00003b30| 63 6f 70 79 20 74 68 65 | 20 73 65 6c 65 63 74 65 |copy the| selecte|
|00003b40| 64 20 74 65 78 74 20 74 | 6f 20 74 68 65 20 43 4c |d text t|o the CL|
|00003b50| 49 50 42 4f 41 52 44 2e | 20 28 54 68 61 74 20 6d |IPBOARD.| (That m|
|00003b60| 65 61 6e 73 2c 20 69 74 | 20 64 6f 65 73 20 6e 6f |eans, it| does no|
|00003b70| 74 20 77 6f 72 6b 20 61 | 73 20 d4 64 75 70 6c 69 |t work a|s .dupli|
|00003b80| 63 61 74 65 d5 20 63 6f | 6d 6d 61 6e 64 20 74 68 |cate. co|mmand th|
|00003b90| 61 74 20 69 73 20 6e 6f | 74 20 73 75 70 70 6f 72 |at is no|t suppor|
|00003ba0| 74 65 64 20 69 6e 20 51 | 75 6f 45 64 69 74 2e 29 |ted in Q|uoEdit.)|
|00003bb0| 0d 0d 54 68 65 20 6f 72 | 69 67 69 6e 61 6c 20 65 |..The or|iginal e|
|00003bc0| 64 69 74 69 6f 6e 20 6f | 66 20 d2 41 70 70 6c 65 |dition o|f .Apple|
|00003bd0| 53 63 72 69 70 74 20 4c | 61 6e 67 75 61 67 65 20 |Script L|anguage |
|00003be0| 47 75 69 64 65 d3 20 64 | 65 66 69 6e 65 64 20 74 |Guide. d|efined t|
|00003bf0| 68 61 74 20 d2 74 68 65 | 20 43 6f 70 79 20 63 6f |hat .the| Copy co|
|00003c00| 6d 6d 61 6e 64 20 63 61 | 6e 20 66 75 6e 63 74 69 |mmand ca|n functi|
|00003c10| 6f 6e 20 61 73 20 61 6e | 20 41 70 70 6c 65 53 63 |on as an| AppleSc|
|00003c20| 72 69 70 74 20 63 6f 6d | 6d 61 6e 64 20 6f 72 20 |ript com|mand or |
|00003c30| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |an appli|cation c|
|00003c40| 6f 6d 6d 61 6e 64 d3 2e | 20 41 6e 64 20 61 73 20 |ommand..| And as |
|00003c50| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 6f 66 |the func|tions of|
|00003c60| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00003c70| 20 63 6f 6d 6d 61 6e 64 | 2c 20 69 74 20 64 65 73 | command|, it des|
|00003c80| 63 72 69 62 65 64 20 74 | 68 61 74 20 69 74 20 6d |cribed t|hat it m|
|00003c90| 61 6b 65 73 20 61 20 63 | 6f 70 79 20 6f 66 20 6f |akes a c|opy of o|
|00003ca0| 62 6a 65 63 74 28 73 29 | 20 61 6e 64 20 70 75 74 |bject(s)| and put|
|00003cb0| 20 69 74 20 69 6e 20 6e | 65 77 20 6c 6f 63 61 74 | it in n|ew locat|
|00003cc0| 69 6f 6e 20 6f 72 20 6f | 6e 20 74 68 65 20 63 6c |ion or o|n the cl|
|00003cd0| 69 70 62 6f 61 72 64 2e | 0d 49 6e 20 74 68 65 20 |ipboard.|.In the |
|00003ce0| 72 65 76 69 73 65 64 20 | 65 64 69 74 69 6f 6e 20 |revised |edition |
|00003cf0| 6f 66 20 d2 41 70 70 6c | 65 53 63 72 69 70 74 20 |of .Appl|eScript |
|00003d00| 4c 61 6e 67 75 61 67 65 | 20 47 75 69 64 65 d3 20 |Language| Guide. |
|00003d10| 28 46 6f 72 20 41 70 70 | 6c 65 53 63 72 69 70 74 |(For App|leScript|
|00003d20| 20 31 2e 33 2e 37 29 2c | 20 68 6f 77 65 76 65 72 | 1.3.7),| however|
|00003d30| 2c 20 75 73 69 6e 67 20 | d4 63 6f 70 79 d5 20 63 |, using |.copy. c|
|00003d40| 6f 6d 6d 61 6e 64 20 61 | 73 20 74 68 65 20 61 70 |ommand a|s the ap|
|00003d50| 70 6c 69 63 61 74 69 6f | 6e 20 63 6f 6d 6d 61 6e |plicatio|n comman|
|00003d60| 64 20 69 73 20 64 69 73 | 63 6f 75 72 61 67 65 64 |d is dis|couraged|
|00003d70| 2e 0d 54 68 65 72 65 66 | 6f 72 65 2c 20 74 6f 20 |..Theref|ore, to |
|00003d80| 63 6f 70 79 20 74 68 65 | 20 73 65 6c 65 63 74 69 |copy the| selecti|
|00003d90| 6f 6e 20 74 6f 20 74 68 | 65 20 63 6c 69 70 62 6f |on to th|e clipbo|
|00003da0| 61 72 64 2c 20 75 73 69 | 6e 67 20 d4 64 6f 20 63 |ard, usi|ng .do c|
|00003db0| 6f 70 79 d5 20 69 73 20 | 72 65 63 6f 6d 6d 65 6e |opy. is |recommen|
|00003dc0| 64 65 64 20 69 6e 20 51 | 75 6f 45 64 69 74 20 72 |ded in Q|uoEdit r|
|00003dd0| 61 74 68 65 72 20 74 68 | 61 6e 20 d4 63 6f 70 79 |ather th|an .copy|
|00003de0| d5 2e 0d 0d 45 73 70 65 | 63 69 61 6c 6c 79 2c 20 |....Espe|cially, |
|00003df0| 69 66 20 79 6f 75 20 61 | 64 64 20 74 68 65 20 6f |if you a|dd the o|
|00003e00| 70 74 69 6f 6e 61 6c 20 | 70 61 72 61 6d 65 74 65 |ptional |paramete|
|00003e10| 72 20 28 d4 73 74 79 6c | d5 20 6f 72 20 d4 69 67 |r (.styl|. or .ig|
|00003e20| 6e 6f 72 69 6e 67 20 6e | 75 72 73 65 d5 29 20 74 |noring n|urse.) t|
|00003e30| 6f 20 74 68 65 20 d4 63 | 6f 70 79 d5 20 63 6f 6d |o the .c|opy. com|
|00003e40| 6d 61 6e 64 2c 20 41 70 | 70 6c 65 53 63 72 69 70 |mand, Ap|pleScrip|
|00003e50| 74 20 77 69 6c 6c 20 6e | 6f 74 20 61 63 63 65 70 |t will n|ot accep|
|00003e60| 74 20 74 68 65 20 70 61 | 72 61 6d 65 74 65 72 20 |t the pa|rameter |
|00003e70| 61 74 20 74 68 65 20 63 | 6f 6d 70 69 6c 69 6e 67 |at the c|ompiling|
|00003e80| 20 28 74 68 6f 75 67 68 | 20 61 6c 72 65 61 64 79 | (though| already|
|00003e90| 20 63 6f 6d 70 69 6c 65 | 64 20 73 63 72 69 70 74 | compile|d script|
|00003ea0| 73 20 68 61 76 65 20 6e | 6f 20 70 72 6f 62 6c 65 |s have n|o proble|
|00003eb0| 6d 29 2e 20 49 6e 20 74 | 68 69 73 20 63 61 73 65 |m). In t|his case|
|00003ec0| 2c 20 79 6f 75 20 68 61 | 76 65 20 74 6f 20 75 73 |, you ha|ve to us|
|00003ed0| 65 20 74 68 65 20 74 65 | 72 6d 20 d4 64 6f 20 63 |e the te|rm .do c|
|00003ee0| 6f 70 79 d5 2e 0d 0d 32 | 2e 38 2e 33 20 20 49 67 |opy....2|.8.3 Ig|
|00003ef0| 6e 6f 72 69 6e 67 20 4e | 75 72 73 65 20 70 61 72 |noring N|urse par|
|00003f00| 61 6d 65 74 65 72 20 66 | 6f 72 20 43 75 74 20 61 |ameter f|or Cut a|
|00003f10| 6e 64 20 44 6f 20 43 6f | 70 79 0d 57 68 69 6c 65 |nd Do Co|py.While|
|00003f20| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 61 72 65 20 | operati|ons are |
|00003f30| 72 65 63 6f 72 64 65 64 | 2c 20 51 75 6f 45 64 69 |recorded|, QuoEdi|
|00003f40| 74 20 61 64 64 73 20 74 | 68 69 73 20 70 61 72 61 |t adds t|his para|
|00003f50| 6d 65 74 65 72 20 74 6f | 20 43 75 74 20 61 6e 64 |meter to| Cut and|
|00003f60| 20 44 6f 20 43 6f 70 79 | 20 63 6f 6d 6d 61 6e 64 | Do Copy| command|
|00003f70| 73 20 61 6e 64 20 d2 6e | 75 72 73 65 d3 20 69 73 |s and .n|urse. is|
|00003f80| 20 61 6e 20 61 62 62 72 | 65 76 69 61 74 69 6f 6e | an abbr|eviation|
|00003f90| 20 6f 66 20 d2 6e 6f 2d | 75 73 65 72 2d 73 65 6c | of .no-|user-sel|
|00003fa0| 65 63 74 69 6f 6e 20 65 | 72 72 6f 72 d3 2e 0d 43 |ection e|rror...C|
|00003fb0| 6f 6e 76 65 6e 74 69 6f | 6e 61 6c 6c 79 2c 20 69 |onventio|nally, i|
|00003fc0| 66 20 79 6f 75 20 74 72 | 79 20 74 6f 20 63 75 74 |f you tr|y to cut|
|00003fd0| 20 6f 72 20 63 6f 70 79 | 20 77 69 74 68 20 6e 6f | or copy| with no|
|00003fe0| 20 74 65 78 74 20 73 65 | 6c 65 63 74 65 64 2c 20 | text se|lected, |
|00003ff0| 6e 6f 2d 75 73 65 72 2d | 73 65 6c 65 63 74 69 6f |no-user-|selectio|
|00004000| 6e 20 65 72 72 6f 72 20 | 28 6e 75 6d 62 65 72 20 |n error |(number |
|00004010| 2d 31 30 30 31 33 29 20 | 69 73 20 74 6f 20 62 65 |-10013) |is to be|
|00004020| 20 72 65 74 75 72 6e 65 | 64 2e 20 42 75 74 20 79 | returne|d. But y|
|00004030| 6f 75 20 77 69 6c 6c 20 | 72 65 61 6c 69 7a 65 20 |ou will |realize |
|00004040| 68 6f 77 20 69 74 d5 73 | 20 68 65 6c 70 66 75 6c |how it.s| helpful|
|00004050| 20 74 6f 20 69 67 6e 6f | 72 65 20 74 68 65 20 65 | to igno|re the e|
|00004060| 72 72 6f 72 20 77 68 65 | 6e 20 79 6f 75 20 74 72 |rror whe|n you tr|
|00004070| 65 61 74 20 74 61 62 20 | 64 65 6c 69 6d 69 74 65 |eat tab |delimite|
|00004080| 64 20 64 61 74 61 20 61 | 6e 64 20 73 6f 6d 65 20 |d data a|nd some |
|00004090| 66 69 65 6c 64 73 20 61 | 72 65 20 65 6d 70 74 79 |fields a|re empty|
|000040a0| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2e 0d 0d |, for ex|ample...|
|000040b0| 32 2e 39 20 20 44 6f 20 | 73 63 72 69 70 74 0d 32 |2.9 Do |script.2|
|000040c0| 2e 39 2e 31 20 20 44 69 | 72 65 63 74 20 70 61 72 |.9.1 Di|rect par|
|000040d0| 61 6d 65 74 65 72 0d 49 | 6e 20 51 75 6f 45 64 69 |ameter.I|n QuoEdi|
|000040e0| 74 2c 20 d4 64 6f 20 73 | 63 72 69 70 74 d5 20 63 |t, .do s|cript. c|
|000040f0| 6f 6d 6d 61 6e 64 20 72 | 75 6e 73 20 73 63 72 69 |ommand r|uns scri|
|00004100| 70 74 73 20 73 75 70 70 | 6f 72 74 65 64 20 62 79 |pts supp|orted by|
|00004110| 20 74 68 65 20 4f 53 41 | 2e 0d 49 74 20 73 75 70 | the OSA|..It sup|
|00004120| 70 6f 72 74 73 20 61 20 | 72 65 66 65 72 65 6e 63 |ports a |referenc|
|00004130| 65 20 74 6f 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e to the| followi|
|00004140| 6e 67 20 6f 62 6a 65 63 | 74 73 20 61 73 20 74 68 |ng objec|ts as th|
|00004150| 65 20 64 69 72 65 63 74 | 20 70 61 72 61 6d 65 74 |e direct| paramet|
|00004160| 65 72 2e 0d 09 66 69 6c | 65 20 6f 72 20 61 6c 69 |er...fil|e or ali|
|00004170| 61 73 20 69 6e 20 77 68 | 69 63 68 20 61 20 63 6f |as in wh|ich a co|
|00004180| 6d 70 69 6c 65 64 20 73 | 63 72 69 70 74 20 69 73 |mpiled s|cript is|
|00004190| 20 73 61 76 65 64 0d 09 | 73 63 72 69 70 74 20 6f | saved..|script o|
|000041a0| 62 6a 65 63 74 20 28 69 | 6e 64 65 78 20 31 20 6f |bject (i|ndex 1 o|
|000041b0| 72 20 2d 31 29 20 6f 66 | 20 51 75 6f 45 64 69 74 |r -1) of| QuoEdit|
|000041c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 0d 09 73 63 | applica|tion..sc|
|000041d0| 72 69 70 74 20 6f 62 6a | 65 63 74 20 28 69 6e 64 |ript obj|ect (ind|
|000041e0| 65 78 20 31 29 20 6f 66 | 20 61 20 64 6f 63 75 6d |ex 1) of| a docum|
|000041f0| 65 6e 74 0d 09 6d 65 6e | 75 20 69 74 65 6d 20 6f |ent..men|u item o|
|00004200| 72 20 61 74 74 61 63 68 | 6d 65 6e 74 20 6f 66 20 |r attach|ment of |
|00004210| 74 68 65 20 6d 65 6e 75 | 20 69 74 65 6d 2c 20 69 |the menu| item, i|
|00004220| 66 20 74 68 65 20 6d 65 | 6e 75 20 69 74 65 6d d5 |f the me|nu item.|
|00004230| 73 20 6b 69 6e 64 20 69 | 73 20 d4 72 75 6e 6e 69 |s kind i|s .runni|
|00004240| 6e 67 20 73 63 72 69 70 | 74 d5 0d 09 61 6e 64 20 |ng scrip|t...and |
|00004250| 74 68 65 20 61 74 74 61 | 63 68 6d 65 6e 74 20 69 |the atta|chment i|
|00004260| 73 20 6e 6f 74 20 61 20 | 72 65 66 65 72 65 6e 63 |s not a |referenc|
|00004270| 65 20 74 6f 20 61 20 66 | 6f 6c 64 65 72 0d 0d 4f |e to a f|older..O|
|00004280| 6e 20 74 68 65 20 6f 74 | 68 65 72 20 68 61 6e 64 |n the ot|her hand|
|00004290| 2c 20 69 74 20 64 6f 65 | 73 20 6e 6f 74 20 73 75 |, it doe|s not su|
|000042a0| 70 70 6f 72 74 20 64 61 | 74 61 20 6f 66 20 73 63 |pport da|ta of sc|
|000042b0| 72 69 70 74 20 6f 62 6a | 65 63 74 73 20 61 6e 64 |ript obj|ects and|
|000042c0| 20 74 65 78 74 20 64 61 | 74 61 20 6f 66 20 73 63 | text da|ta of sc|
|000042d0| 72 69 70 74 20 73 6f 75 | 72 63 65 73 20 28 74 68 |ript sou|rces (th|
|000042e0| 61 74 20 64 6f 6e d5 74 | 20 62 65 6c 6f 6e 67 20 |at don.t| belong |
|000042f0| 74 6f 20 61 6e 79 74 68 | 69 6e 67 29 2e 20 54 6f |to anyth|ing). To|
|00004300| 20 72 75 6e 20 74 68 65 | 6d 2c 20 75 73 65 20 74 | run the|m, use t|
|00004310| 68 65 20 d4 72 75 6e 20 | 73 63 72 69 70 74 d5 20 |he .run |script. |
|00004320| 63 6f 6d 6d 61 6e 64 20 | 6f 66 20 74 68 65 20 73 |command |of the s|
|00004330| 74 61 6e 64 61 72 64 20 | 73 63 72 69 70 74 69 6e |tandard |scriptin|
|00004340| 67 20 61 64 64 69 74 69 | 6f 6e 73 2e 0d 0d 54 6f |g additi|ons...To|
|00004350| 20 65 78 65 63 75 74 65 | 20 61 20 73 63 72 69 70 | execute| a scrip|
|00004360| 74 20 6f 66 20 74 68 65 | 20 73 6f 75 72 63 65 20 |t of the| source |
|00004370| 74 65 78 74 20 74 68 61 | 74 20 69 73 20 77 72 69 |text tha|t is wri|
|00004380| 74 74 65 6e 20 69 6e 20 | 74 68 65 20 64 6f 63 75 |tten in |the docu|
|00004390| 6d 65 6e 74 2c 20 6f 6e | 63 65 20 63 6f 6d 70 69 |ment, on|ce compi|
|000043a0| 6c 65 20 69 74 20 77 69 | 74 68 20 d4 63 6f 6d 70 |le it wi|th .comp|
|000043b0| 69 6c 65 d5 20 63 6f 6d | 6d 61 6e 64 2e 20 54 68 |ile. com|mand. Th|
|000043c0| 65 20 d4 63 6f 6d 70 69 | 6c 65 d5 20 63 6f 6d 6d |e .compi|le. comm|
|000043d0| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |and retu|rns the |
|000043e0| 72 65 66 65 72 65 6e 63 | 65 20 74 6f 20 74 68 65 |referenc|e to the|
|000043f0| 20 63 6f 6d 70 69 6c 65 | 64 20 73 63 72 69 70 74 | compile|d script|
|00004400| 20 74 68 61 74 20 69 73 | 20 6c 69 6b 65 20 d2 73 | that is| like .s|
|00004410| 63 72 69 70 74 20 31 20 | 6f 66 20 64 6f 63 75 6d |cript 1 |of docum|
|00004420| 65 6e 74 20 31 d3 2e 20 | 4e 6f 77 20 79 6f 75 20 |ent 1.. |Now you |
|00004430| 63 61 6e 20 72 75 6e 20 | 69 74 20 62 79 20 74 68 |can run |it by th|
|00004440| 65 20 d4 64 6f 20 73 63 | 72 69 70 74 d5 20 63 6f |e .do sc|ript. co|
|00004450| 6d 6d 61 6e 64 2e 0d 0d | 49 66 20 61 20 6d 65 6e |mmand...|If a men|
|00004460| 75 20 69 74 65 6d 20 6f | 72 20 74 68 65 20 61 74 |u item o|r the at|
|00004470| 74 61 63 68 6d 65 6e 74 | 20 69 73 20 73 70 65 63 |tachment| is spec|
|00004480| 69 66 69 65 64 20 61 73 | 20 74 68 65 20 64 69 72 |ified as| the dir|
|00004490| 65 63 74 20 70 61 72 61 | 6d 65 74 65 72 20 61 6e |ect para|meter an|
|000044a0| 64 20 74 68 65 20 73 63 | 72 69 70 74 20 69 73 20 |d the sc|ript is |
|000044b0| 63 68 61 6e 67 65 64 20 | 61 66 74 65 72 20 74 68 |changed |after th|
|000044c0| 65 20 65 78 65 63 75 74 | 69 6f 6e 2c 20 74 68 65 |e execut|ion, the|
|000044d0| 20 63 68 61 6e 67 65 20 | 69 73 20 73 61 76 65 64 | change |is saved|
|000044e0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 69 | automat|ically i|
|000044f0| 6e 20 74 68 65 20 66 69 | 6c 65 20 d1 20 69 6e 20 |n the fi|le . in |
|00004500| 74 68 65 20 73 63 72 69 | 70 74 20 66 69 6c 65 20 |the scri|pt file |
|00004510| 69 66 20 74 68 65 20 61 | 74 74 61 63 68 6d 65 6e |if the a|ttachmen|
|00004520| 74 20 69 73 20 61 20 72 | 65 66 65 72 65 6e 63 65 |t is a r|eference|
|00004530| 20 74 6f 20 74 68 65 20 | 66 69 6c 65 2c 20 6f 72 | to the |file, or|
|00004540| 20 69 6e 20 74 68 65 20 | 6d 65 6e 75 20 64 65 66 | in the |menu def|
|00004550| 69 6e 69 74 69 6f 6e 20 | 66 69 6c 65 20 69 66 20 |inition |file if |
|00004560| 74 68 65 20 61 74 74 61 | 63 68 6d 65 6e 74 20 69 |the atta|chment i|
|00004570| 73 20 61 20 73 63 72 69 | 70 74 20 6f 62 6a 65 63 |s a scri|pt objec|
|00004580| 74 20 64 61 74 61 2e 0d | 0d 32 2e 39 2e 32 20 20 |t data..|.2.9.2 |
|00004590| 4d 65 6d 6f 72 79 20 6b | 65 65 70 69 6e 67 20 70 |Memory k|eeping p|
|000045a0| 61 72 61 6d 65 74 65 72 | 0d 49 66 20 61 20 72 65 |arameter|.If a re|
|000045b0| 66 65 72 65 6e 63 65 20 | 74 6f 20 73 63 72 69 70 |ference |to scrip|
|000045c0| 74 20 66 69 6c 65 20 69 | 73 20 73 70 65 63 69 66 |t file i|s specif|
|000045d0| 69 65 64 20 61 73 20 74 | 68 65 20 64 69 72 65 63 |ied as t|he direc|
|000045e0| 74 20 70 61 72 61 6d 65 | 74 65 72 2c 20 d4 64 6f |t parame|ter, .do|
|000045f0| 20 73 63 72 69 70 74 d5 | 20 63 6f 6d 6d 61 6e 64 | script.| command|
|00004600| 20 6b 65 65 70 73 20 74 | 68 65 20 6c 6f 61 64 65 | keeps t|he loade|
|00004610| 64 20 73 63 72 69 70 74 | 20 6f 6e 20 6d 65 6d 6f |d script| on memo|
|00004620| 72 79 20 62 79 20 64 65 | 66 61 75 6c 74 2e 20 54 |ry by de|fault. T|
|00004630| 68 61 74 20 69 73 20 63 | 61 6c 6c 65 64 20 74 68 |hat is c|alled th|
|00004640| 65 20 d2 6c 61 73 74 20 | 73 63 72 69 70 74 d3 20 |e .last |script. |
|00004650| 69 6e 20 74 68 69 73 20 | 61 70 70 6c 69 63 61 74 |in this |applicat|
|00004660| 69 6f 6e 20 61 6e 64 20 | 61 63 74 75 61 6c 6c 79 |ion and |actually|
|00004670| 20 64 65 73 63 72 69 62 | 65 64 20 73 6f 20 69 6e | describ|ed so in|
|00004680| 20 73 63 72 69 70 74 73 | 2e 0d 42 75 74 20 74 6f | scripts|..But to|
|00004690| 20 61 76 6f 69 64 20 74 | 68 65 20 63 6f 6d 70 6c | avoid t|he compl|
|000046a0| 69 63 61 74 69 6f 6e 2c | 20 69 74 20 69 73 20 72 |ication,| it is r|
|000046b0| 61 74 68 65 72 20 72 65 | 63 6f 6d 6d 65 6e 64 65 |ather re|commende|
|000046c0| 64 20 74 6f 20 73 70 65 | 63 69 66 79 20 66 61 6c |d to spe|cify fal|
|000046d0| 73 65 20 74 6f 20 74 68 | 65 20 d4 6d 65 6d 6f 72 |se to th|e .memor|
|000046e0| 79 20 6b 65 65 70 69 6e | 67 d5 20 70 61 72 61 6d |y keepin|g. param|
|000046f0| 65 74 65 72 20 77 68 65 | 6e 20 79 6f 75 20 77 72 |eter whe|n you wr|
|00004700| 69 74 65 20 74 68 65 20 | d4 64 6f 20 73 63 72 69 |ite the |.do scri|
|00004710| 70 74 d5 20 73 74 61 74 | 65 6d 65 6e 74 73 2e 0d |pt. stat|ements..|
|00004720| 57 68 69 6c 65 20 6f 70 | 65 72 61 74 69 6f 6e 73 |While op|erations|
|00004730| 20 61 72 65 20 62 65 69 | 6e 67 20 72 65 63 6f 72 | are bei|ng recor|
|00004740| 64 65 64 2c 20 51 75 6f | 45 64 69 74 20 61 75 74 |ded, Quo|Edit aut|
|00004750| 6f 6d 61 74 69 63 61 6c | 6c 79 20 61 64 64 73 20 |omatical|ly adds |
|00004760| 74 68 69 73 20 70 61 72 | 61 6d 65 74 65 72 20 77 |this par|ameter w|
|00004770| 69 74 68 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ith the |value of|
|00004780| 20 66 61 6c 73 65 20 77 | 68 65 6e 20 79 6f 75 20 | false w|hen you |
|00004790| 64 6f 20 45 78 65 63 75 | 74 65 20 53 63 72 69 70 |do Execu|te Scrip|
|000047a0| 74 20 6d 65 6e 75 20 63 | 6f 6d 6d 61 6e 64 2e 0d |t menu c|ommand..|
|000047b0| 54 68 65 20 d4 6d 65 6d | 6f 72 79 20 6b 65 65 70 |The .mem|ory keep|
|000047c0| 69 6e 67 d5 20 70 61 72 | 61 6d 65 74 65 72 20 68 |ing. par|ameter h|
|000047d0| 61 73 20 61 20 73 65 6e | 73 65 20 6f 6e 6c 79 20 |as a sen|se only |
|000047e0| 69 66 20 61 20 72 65 66 | 65 72 65 6e 63 65 20 74 |if a ref|erence t|
|000047f0| 6f 20 73 63 72 69 70 74 | 20 66 69 6c 65 20 69 73 |o script| file is|
|00004800| 20 73 70 65 63 69 66 69 | 65 64 20 61 73 20 74 68 | specifi|ed as th|
|00004810| 65 20 64 69 72 65 63 74 | 20 70 61 72 61 6d 65 74 |e direct| paramet|
|00004820| 65 72 0d 0d 32 2e 31 30 | 20 20 49 6e 73 65 72 74 |er..2.10| Insert|
|00004830| 0d 49 6e 73 65 72 74 20 | 63 6f 6d 6d 61 6e 64 20 |.Insert |command |
|00004840| 69 73 20 69 6e 74 65 6e | 64 65 64 20 74 6f 20 62 |is inten|ded to b|
|00004850| 65 20 75 73 65 64 20 74 | 6f 20 69 6e 73 65 72 74 |e used t|o insert|
|00004860| 20 66 69 6c 65 20 63 6f | 6e 74 65 6e 74 73 20 69 | file co|ntents i|
|00004870| 6e 74 6f 20 64 6f 63 75 | 6d 65 6e 74 20 61 6e 64 |nto docu|ment and|
|00004880| 20 69 74 20 69 73 20 65 | 71 75 69 76 61 6c 65 6e | it is e|quivalen|
|00004890| 74 20 6f 66 20 64 6f 69 | 6e 67 20 49 6e 73 65 72 |t of doi|ng Inser|
|000048a0| 74 20 46 69 6c 65 20 6d | 65 6e 75 20 63 6f 6d 6d |t File m|enu comm|
|000048b0| 61 6e 64 20 6f 66 20 74 | 68 65 20 61 70 70 6c 69 |and of t|he appli|
|000048c0| 63 61 74 69 6f 6e 2e 0d | 09 69 6e 73 65 72 74 20 |cation..|.insert |
|000048d0| 61 6c 69 61 73 20 22 64 | 69 73 6b 20 6e 61 6d 65 |alias "d|isk name|
|000048e0| 3a 66 6f 6c 64 65 72 20 | 6e 61 6d 65 3a 66 69 6c |:folder |name:fil|
|000048f0| 65 20 6e 61 6d 65 22 0d | 59 6f 75 20 63 61 6e 20 |e name".|You can |
|00004900| 73 70 65 63 69 66 79 20 | 6e 6f 74 20 6f 6e 6c 79 |specify |not only|
|00004910| 20 27 54 45 58 54 27 20 | 66 69 6c 65 20 62 75 74 | 'TEXT' |file but|
|00004920| 20 61 6c 73 6f 20 61 6e | 79 20 6b 69 6e 64 20 6f | also an|y kind o|
|00004930| 66 20 66 69 6c 65 20 61 | 73 20 74 68 65 20 64 69 |f file a|s the di|
|00004940| 72 65 63 74 20 70 61 72 | 61 6d 65 74 65 72 2e 0d |rect par|ameter..|
|00004950| 0d 54 68 6f 75 67 68 20 | 73 74 72 69 6e 67 20 28 |.Though |string (|
|00004960| 6f 72 20 74 65 78 74 20 | 6f 62 6a 65 63 74 29 20 |or text |object) |
|00004970| 63 61 6e 20 62 65 20 61 | 6c 73 6f 20 73 70 65 63 |can be a|lso spec|
|00004980| 69 66 69 65 64 20 61 73 | 20 74 68 65 20 64 69 72 |ified as| the dir|
|00004990| 65 63 74 20 70 61 72 61 | 6d 65 74 65 72 2c 20 63 |ect para|meter, c|
|000049a0| 75 72 72 65 6e 74 6c 79 | 20 69 74 20 69 73 20 6e |urrently| it is n|
|000049b0| 6f 74 20 72 65 63 6f 6d | 6d 65 6e 64 65 64 2e 20 |ot recom|mended. |
|000049c0| 54 68 61 74 20 69 73 20 | 62 65 63 61 75 73 65 20 |That is |because |
|000049d0| 69 66 20 64 72 61 67 20 | 61 6e 64 20 64 72 6f 70 |if drag |and drop|
|000049e0| 20 6f 70 65 72 61 74 69 | 6f 6e 20 69 73 20 73 75 | operati|on is su|
|000049f0| 70 70 6f 72 74 65 64 20 | 62 79 20 74 68 65 20 d4 |pported |by the .|
|00004a00| 69 6e 73 65 72 74 69 6f | 6e d5 20 63 6f 6d 6d 61 |insertio|n. comma|
|00004a10| 6e 64 20 69 6e 20 74 68 | 65 20 66 75 74 75 72 65 |nd in th|e future|
|00004a20| 2c 20 69 6e 74 65 6c 6c | 69 67 65 6e 74 20 63 75 |, intell|igent cu|
|00004a30| 74 20 26 20 70 61 73 74 | 65 20 69 73 20 74 6f 20 |t & past|e is to |
|00004a40| 62 65 20 61 70 70 6c 69 | 65 64 20 73 6f 20 74 68 |be appli|ed so th|
|00004a50| 61 74 20 74 68 65 20 73 | 63 72 69 70 74 20 63 61 |at the s|cript ca|
|00004a60| 6e 20 62 65 20 69 6e 63 | 6f 6d 70 61 74 69 62 6c |n be inc|ompatibl|
|00004a70| 65 2e 0d 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |e..For e|xample, |
|00004a80| 69 6e 73 74 65 61 64 20 | 6f 66 20 77 72 69 74 69 |instead |of writi|
|00004a90| 6e 67 20 61 20 73 74 61 | 74 65 6d 65 6e 74 20 6c |ng a sta|tement l|
|00004aa0| 69 6b 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ike the |followin|
|00004ab0| 67 2c 0d 09 69 6e 73 65 | 72 74 20 22 6e 65 77 20 |g,..inse|rt "new |
|00004ac0| 77 6f 72 64 73 22 0d 75 | 73 69 6e 67 20 6f 6e 65 |words".u|sing one|
|00004ad0| 20 6f 66 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | of the |standard|
|00004ae0| 20 77 61 79 73 20 6c 69 | 6b 65 20 74 68 65 20 66 | ways li|ke the f|
|00004af0| 6f 6c 6c 6f 77 69 6e 67 | 73 20 69 73 20 72 65 63 |ollowing|s is rec|
|00004b00| 6f 6d 6d 65 6e 64 65 64 | 2e 0d 09 73 65 74 20 63 |ommended|...set c|
|00004b10| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 73 65 6c 65 63 |ontents |of selec|
|00004b20| 74 69 6f 6e 20 74 6f 20 | 22 6e 65 77 20 77 6f 72 |tion to |"new wor|
|00004b30| 64 73 22 0d 09 6d 61 6b | 65 20 74 65 78 74 20 77 |ds"..mak|e text w|
|00004b40| 69 74 68 20 64 61 74 61 | 20 22 6e 65 77 20 77 6f |ith data| "new wo|
|00004b50| 72 64 73 22 0d 49 6e 74 | 65 6c 6c 69 67 65 6e 74 |rds".Int|elligent|
|00004b60| 20 63 75 74 20 26 20 70 | 61 73 74 65 20 77 69 6c | cut & p|aste wil|
|00004b70| 6c 20 6e 6f 74 20 62 65 | 20 61 70 70 6c 69 65 64 |l not be| applied|
|00004b80| 20 74 6f 20 53 65 74 20 | 61 6e 64 20 4d 61 6b 65 | to Set |and Make|
|00004b90| 20 63 6f 6d 6d 61 6e 64 | 73 20 61 6c 73 6f 20 69 | command|s also i|
|00004ba0| 6e 20 74 68 65 20 66 75 | 74 75 72 65 2e 20 28 49 |n the fu|ture. (I|
|00004bb0| 74 20 64 6f 65 73 20 6e | 6f 74 20 61 66 66 65 63 |t does n|ot affec|
|00004bc0| 74 20 65 76 65 6e 20 72 | 65 73 75 6c 74 20 6f 66 |t even r|esult of|
|00004bd0| 20 d2 6d 61 6b 65 20 77 | 6f 72 64 2e 2e 2e d3 20 | .make w|ord.... |
|00004be0| 73 74 61 74 65 6d 65 6e | 74 20 77 68 65 74 68 65 |statemen|t whethe|
|00004bf0| 72 20 69 6e 74 65 6c 6c | 69 67 65 6e 74 20 63 75 |r intell|igent cu|
|00004c00| 74 20 26 20 70 61 73 74 | 65 20 69 73 20 6f 6e 20 |t & past|e is on |
|00004c10| 6f 72 20 6f 66 66 2e 29 | 0d 0d 32 2e 31 31 20 20 |or off.)|..2.11 |
|00004c20| 46 69 6e 64 20 2f 20 53 | 65 61 72 63 68 0d 49 6e |Find / S|earch.In|
|00004c30| 20 51 75 6f 45 64 69 74 | 2c 20 46 69 6e 64 20 63 | QuoEdit|, Find c|
|00004c40| 6f 6d 6d 61 6e 64 20 63 | 6f 72 72 65 73 70 6f 6e |ommand c|orrespon|
|00004c50| 64 73 20 74 6f 20 74 68 | 65 20 6d 65 6e 75 20 63 |ds to th|e menu c|
|00004c60| 6f 6d 6d 61 6e 64 73 20 | 6f 66 20 46 69 6e 64 20 |ommands |of Find |
|00004c70| 46 6f 72 77 61 72 64 20 | 41 67 61 69 6e 20 61 6e |Forward |Again an|
|00004c80| 64 20 46 69 6e 64 20 42 | 61 63 6b 77 61 72 64 20 |d Find B|ackward |
|00004c90| 41 67 61 69 6e 20 74 68 | 61 74 20 73 65 61 72 63 |Again th|at searc|
|00004ca0| 68 20 6f 6e 6c 79 20 66 | 72 6f 6e 74 20 64 6f 63 |h only f|ront doc|
|00004cb0| 75 6d 65 6e 74 20 73 74 | 61 72 74 69 6e 67 20 61 |ument st|arting a|
|00004cc0| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 65 |t the cu|rrent se|
|00004cd0| 6c 65 63 74 69 6f 6e 2e | 0d 4f 6e 20 74 68 65 20 |lection.|.On the |
|00004ce0| 6f 74 68 65 72 20 68 61 | 6e 64 2c 20 53 65 61 72 |other ha|nd, Sear|
|00004cf0| 63 68 20 63 6f 6d 6d 61 | 6e 64 20 63 6f 72 72 65 |ch comma|nd corre|
|00004d00| 73 70 6f 6e 64 73 20 74 | 6f 20 74 68 65 20 6d 65 |sponds t|o the me|
|00004d10| 6e 75 20 63 6f 6d 6d 61 | 6e 64 20 6f 66 20 53 65 |nu comma|nd of Se|
|00004d20| 61 72 63 68 20 4f 62 6a | 65 63 74 20 61 6e 64 20 |arch Obj|ect and |
|00004d30| 69 73 20 69 6e 74 65 6e | 64 65 64 20 74 6f 20 64 |is inten|ded to d|
|00004d40| 6f 20 6d 6f 72 65 20 66 | 6c 65 78 69 62 6c 65 20 |o more f|lexible |
|00004d50| 73 65 61 72 63 68 20 74 | 68 61 6e 20 74 68 65 20 |search t|han the |
|00004d60| 6d 65 6e 75 20 63 6f 6d | 6d 61 6e 64 2e 20 46 6f |menu com|mand. Fo|
|00004d70| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 74 20 63 61 |r exampl|e, it ca|
|00004d80| 6e 20 73 65 61 72 63 68 | 20 6e 6f 74 20 6f 6e 6c |n search| not onl|
|00004d90| 79 20 66 69 6c 65 73 20 | 6f 72 20 66 6f 6c 64 65 |y files |or folde|
|00004da0| 72 73 2c 20 62 75 74 20 | 61 6c 73 6f 20 64 6f 63 |rs, but |also doc|
|00004db0| 75 6d 65 6e 74 73 20 6f | 72 20 74 65 78 74 20 6f |uments o|r text o|
|00004dc0| 62 6a 65 63 74 73 20 69 | 6e 20 74 68 65 20 64 6f |bjects i|n the do|
|00004dd0| 63 75 6d 65 6e 74 2e 0d | 48 6f 77 65 76 65 72 2c |cument..|However,|
|00004de0| 20 77 68 65 6e 20 79 6f | 75 20 6f 6d 69 74 74 65 | when yo|u omitte|
|00004df0| 64 20 61 6c 6c 20 70 61 | 72 61 6d 65 74 65 72 73 |d all pa|rameters|
|00004e00| 20 66 6f 72 20 53 65 61 | 72 63 68 20 63 6f 6d 6d | for Sea|rch comm|
|00004e10| 61 6e 64 2c 20 69 74 20 | 62 65 68 61 76 65 73 20 |and, it |behaves |
|00004e20| 74 68 65 20 73 61 6d 65 | 20 77 61 79 20 61 73 20 |the same| way as |
|00004e30| 46 69 6e 64 20 63 6f 6d | 6d 61 6e 64 20 65 78 63 |Find com|mand exc|
|00004e40| 65 70 74 20 74 68 61 74 | 20 53 65 61 72 63 68 20 |ept that| Search |
|00004e50| 63 6f 6d 6d 61 6e 64 20 | 72 65 74 75 72 6e 73 20 |command |returns |
|00004e60| 31 20 6f 72 20 30 20 28 | 69 6e 74 65 67 65 72 29 |1 or 0 (|integer)|
|00004e70| 20 77 68 69 6c 65 20 46 | 69 6e 64 20 63 6f 6d 6d | while F|ind comm|
|00004e80| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 74 72 75 65 |and retu|rns true|
|00004e90| 20 6f 72 20 66 61 6c 73 | 65 20 28 62 6f 6f 6c 65 | or fals|e (boole|
|00004ea0| 61 6e 29 20 61 73 20 74 | 68 65 20 72 65 73 75 6c |an) as t|he resul|
|00004eb0| 74 2e 0d 0d c7 41 62 6f | 75 74 20 46 69 6e 64 69 |t....Abo|ut Findi|
|00004ec0| 6e 67 20 45 61 63 68 20 | 4f 6e 65 20 70 61 72 61 |ng Each |One para|
|00004ed0| 6d 65 74 65 72 20 6f 66 | 20 53 65 61 72 63 68 20 |meter of| Search |
|00004ee0| 63 6f 6d 6d 61 6e 64 c8 | 0d 57 68 65 6e 20 61 70 |command.|.When ap|
|00004ef0| 70 6c 65 74 20 6f 72 20 | 64 72 6f 70 6c 65 74 20 |plet or |droplet |
|00004f00| 73 65 6e 64 73 20 53 65 | 61 72 63 68 20 65 76 65 |sends Se|arch eve|
|00004f10| 6e 74 20 74 6f 20 51 75 | 6f 45 64 69 74 20 77 69 |nt to Qu|oEdit wi|
|00004f20| 74 68 20 d2 66 69 6e 64 | 69 6e 67 20 65 61 63 68 |th .find|ing each|
|00004f30| 20 6f 6e 65 d3 20 70 61 | 72 61 6d 65 74 65 72 20 | one. pa|rameter |
|00004f40| 61 6e 64 20 6d 61 6e 79 | 20 68 69 74 20 66 69 6c |and many| hit fil|
|00004f50| 65 73 20 61 72 65 20 6f | 70 65 6e 65 64 20 61 73 |es are o|pened as|
|00004f60| 20 61 20 72 65 73 75 6c | 74 2c 20 69 74 20 63 61 | a resul|t, it ca|
|00004f70| 6e 20 62 65 20 75 6e 73 | 74 61 62 6c 65 20 73 6f |n be uns|table so|
|00004f80| 20 74 68 61 74 20 74 68 | 69 73 20 6f 70 74 69 6f | that th|is optio|
|00004f90| 6e 61 6c 20 70 61 72 61 | 6d 65 74 65 72 20 69 73 |nal para|meter is|
|00004fa0| 20 6e 6f 74 20 72 65 63 | 6f 6d 6d 65 6e 64 65 64 | not rec|ommended|
|00004fb0| 2e 0d 54 68 65 72 65 66 | 6f 72 65 2c 20 d2 66 69 |..Theref|ore, .fi|
|00004fc0| 6e 64 69 6e 67 20 61 6c | 6c 20 66 69 72 73 74 d3 |nding al|l first.|
|00004fd0| 20 70 61 72 61 6d 65 74 | 65 72 20 69 73 20 70 72 | paramet|er is pr|
|00004fe0| 6f 76 69 64 65 64 20 61 | 73 20 61 20 76 61 72 69 |ovided a|s a vari|
|00004ff0| 61 74 69 6f 6e 20 6f 66 | 20 d2 66 69 6e 64 69 6e |ation of| .findin|
|00005000| 67 20 61 6c 6c d3 20 70 | 61 72 61 6d 65 74 65 72 |g all. p|arameter|
|00005010| 2e 20 55 73 65 20 74 68 | 69 73 20 6f 6e 65 20 69 |. Use th|is one i|
|00005020| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 66 69 |f you wi|sh to fi|
|00005030| 6e 64 20 6f 75 74 20 6f | 6e 6c 79 20 6f 6e 65 20 |nd out o|nly one |
|00005040| 68 69 74 20 70 65 72 20 | 66 69 6c 65 2e 0d 28 42 |hit per |file..(B|
|00005050| 75 74 20 64 6f 6e d5 74 | 20 77 6f 72 72 79 20 61 |ut don.t| worry a|
|00005060| 62 6f 75 74 20 64 6f 69 | 6e 67 20 65 61 63 68 2d |bout doi|ng each-|
|00005070| 6f 6e 65 20 66 69 6e 64 | 69 6e 67 20 66 72 6f 6d |one find|ing from|
|00005080| 20 74 68 65 20 51 75 6f | 45 64 69 74 20 61 70 70 | the Quo|Edit app|
|00005090| 6c 69 63 61 74 69 6f 6e | 2e 20 49 20 74 68 69 6e |lication|. I thin|
|000050a0| 6b 20 49 74 20 69 73 20 | 73 61 66 65 2e 29 0d 0d |k It is |safe.)..|
|000050b0| 32 2e 31 32 20 20 44 6f | 20 4b 65 79 0d 4c 69 6b |2.12 Do| Key.Lik|
|000050c0| 65 20 d4 6a 75 6d 70 20 | 74 6f d5 20 63 6f 6d 6d |e .jump |to. comm|
|000050d0| 61 6e 64 2c 20 74 68 69 | 73 20 69 73 20 6e 6f 74 |and, thi|s is not|
|000050e0| 20 6c 69 6b 65 20 41 70 | 70 6c 65 53 63 72 69 70 | like Ap|pleScrip|
|000050f0| 74 20 63 6f 6d 6d 61 6e | 64 20 61 6e 64 20 77 72 |t comman|d and wr|
|00005100| 69 74 69 6e 67 20 73 63 | 72 69 70 74 20 77 69 74 |iting sc|ript wit|
|00005110| 68 20 69 74 20 69 73 20 | 6e 6f 74 20 72 65 63 6f |h it is |not reco|
|00005120| 6d 6d 65 6e 64 65 64 20 | 73 6f 20 6d 75 63 68 2e |mmended |so much.|
|00005130| 20 42 75 74 20 74 68 69 | 73 20 63 6f 6d 6d 61 6e | But thi|s comman|
|00005140| 64 20 28 61 73 20 77 65 | 6c 6c 20 61 73 20 d4 6a |d (as we|ll as .j|
|00005150| 75 6d 70 20 74 6f d5 20 | 63 6f 6d 6d 61 6e 64 29 |ump to. |command)|
|00005160| 20 69 73 20 73 74 69 6c | 6c 20 76 65 72 79 20 69 | is stil|l very i|
|00005170| 6d 70 6f 72 74 61 6e 74 | 20 74 6f 20 72 65 63 6f |mportant| to reco|
|00005180| 72 64 20 61 6e 64 20 72 | 65 70 6c 61 79 20 79 6f |rd and r|eplay yo|
|00005190| 75 72 20 74 61 73 6b 20 | 73 65 71 75 65 6e 63 65 |ur task |sequence|
|000051a0| 73 2e 0d 0d 32 2e 31 32 | 2e 31 20 20 41 20 63 68 |s...2.12|.1 A ch|
|000051b0| 61 6e 67 65 64 20 70 61 | 72 61 6d 65 74 65 72 0d |anged pa|rameter.|
|000051c0| 49 6e 20 74 68 65 20 6f | 6c 64 20 76 65 72 73 69 |In the o|ld versi|
|000051d0| 6f 6e 73 20 6f 66 20 51 | 75 6f 45 64 69 74 2c 20 |ons of Q|uoEdit, |
|000051e0| 73 68 6f 72 74 63 75 74 | 20 6b 65 79 73 20 74 6f |shortcut| keys to|
|000051f0| 20 6d 6f 76 65 20 63 61 | 72 65 74 20 66 72 6f 6d | move ca|ret from|
|00005200| 20 74 61 62 20 74 6f 20 | 74 61 62 20 68 61 64 20 | tab to |tab had |
|00005210| 62 65 65 6e 20 5b 63 6f | 6d 6d 61 6e 64 2d 74 61 |been [co|mmand-ta|
|00005220| 62 5d 20 61 6e 64 20 5b | 63 6f 6d 6d 61 6e 64 2d |b] and [|command-|
|00005230| 6f 70 74 69 6f 6e 2d 74 | 61 62 5d 2e 20 42 75 74 |option-t|ab]. But|
|00005240| 20 74 68 65 79 20 61 72 | 65 20 6e 6f 77 20 5b 63 | they ar|e now [c|
|00005250| 6f 6e 74 72 6f 6c 2d 74 | 61 62 5d 20 61 6e 64 20 |ontrol-t|ab] and |
|00005260| 5b 63 6f 6e 74 72 6f 6c | 2d 6f 70 74 69 6f 6e 2d |[control|-option-|
|00005270| 74 61 62 5d 20 72 65 73 | 70 65 63 74 69 76 65 6c |tab] res|pectivel|
|00005280| 79 20 28 73 69 6e 63 65 | 20 76 65 72 73 69 6f 6e |y (since| version|
|00005290| 20 30 2e 34 34 29 2c 20 | 62 65 63 61 75 73 65 20 | 0.44), |because |
|000052a0| 5b 63 6f 6d 6d 61 6e 64 | 2d 74 61 62 5d 20 69 73 |[command|-tab] is|
|000052b0| 20 75 73 65 64 20 66 6f | 72 20 73 77 69 74 63 68 | used fo|r switch|
|000052c0| 69 6e 67 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |ing appl|ication |
|000052d0| 69 6e 20 4d 61 63 20 4f | 53 20 38 2e 35 20 61 6e |in Mac O|S 8.5 an|
|000052e0| 64 20 6c 61 74 65 72 2e | 0d 0d 53 6f 2c 20 74 68 |d later.|..So, th|
|000052f0| 65 20 6f 6c 64 20 73 74 | 61 74 65 6d 65 6e 74 20 |e old st|atement |
|00005300| 74 6f 20 6d 6f 76 65 20 | 63 61 72 65 74 20 74 6f |to move |caret to|
|00005310| 20 74 68 65 20 6e 65 78 | 74 20 74 61 62 20 73 74 | the nex|t tab st|
|00005320| 6f 70 20 6f 72 20 74 68 | 65 20 70 72 65 76 69 6f |op or th|e previo|
|00005330| 75 73 20 74 61 62 3a 0d | 09 64 6f 20 6b 65 79 20 |us tab:.|.do key |
|00005340| 5f 74 61 62 20 77 69 74 | 68 20 7b 5f 63 6d 64 7d |_tab wit|h {_cmd}|
|00005350| 09 09 09 6f 72 09 09 64 | 6f 20 6b 65 79 20 5f 74 |...or..d|o key _t|
|00005360| 61 62 20 77 69 74 68 20 | 7b 5f 63 6d 64 2c 20 5f |ab with |{_cmd, _|
|00005370| 6f 70 74 69 6f 6e 7d 0d | 73 68 6f 75 6c 64 20 62 |option}.|should b|
|00005380| 65 20 6e 6f 77 3a 0d 09 | 64 6f 20 6b 65 79 20 5f |e now:..|do key _|
|00005390| 74 61 62 20 77 69 74 68 | 20 7b 5f 63 74 72 6c 7d |tab with| {_ctrl}|
|000053a0| 09 09 09 6f 72 09 09 64 | 6f 20 6b 65 79 20 5f 74 |...or..d|o key _t|
|000053b0| 61 62 20 77 69 74 68 20 | 7b 5f 63 74 72 6c 2c 20 |ab with |{_ctrl, |
|000053c0| 5f 6f 70 74 69 6f 6e 7d | 0d 4a 75 73 74 20 75 73 |_option}|.Just us|
|000053d0| 65 20 5f 63 74 72 6c 20 | 69 6e 73 74 65 61 64 20 |e _ctrl |instead |
|000053e0| 6f 66 20 74 68 65 20 5f | 63 6d 64 2e 20 28 53 61 |of the _|cmd. (Sa|
|000053f0| 6d 65 20 74 68 69 6e 67 | 20 65 76 65 6e 20 69 66 |me thing| even if|
|00005400| 20 5f 73 68 69 66 74 20 | 77 61 73 20 61 64 64 65 | _shift |was adde|
|00005410| 64 20 72 65 73 70 65 63 | 74 69 76 65 6c 79 2e 29 |d respec|tively.)|
|00005420| 0d 0d 42 79 20 74 68 65 | 20 77 61 79 2c 20 79 6f |..By the| way, yo|
|00005430| 75 20 6d 61 79 20 68 61 | 76 65 20 72 65 63 6f 72 |u may ha|ve recor|
|00005440| 64 65 64 20 61 6e 64 20 | 73 61 76 65 64 20 6d 61 |ded and |saved ma|
|00005450| 6e 79 20 5b 63 6f 6d 6d | 61 6e 64 2d 74 61 62 5d |ny [comm|and-tab]|
|00005460| 20 6b 65 79 20 6f 70 65 | 72 61 74 69 6f 6e 73 20 | key ope|rations |
|00005470| 62 79 20 52 65 63 6f 72 | 64 20 53 65 71 75 65 6e |by Recor|d Sequen|
|00005480| 63 65 20 61 6e 64 20 53 | 61 76 65 20 53 65 71 75 |ce and S|ave Sequ|
|00005490| 65 6e 63 65 20 6d 65 6e | 75 20 63 6f 6d 6d 61 6e |ence men|u comman|
|000054a0| 64 73 2e 20 4f 72 20 79 | 6f 75 20 6d 61 79 20 61 |ds. Or y|ou may a|
|000054b0| 6c 72 65 61 64 79 20 68 | 61 76 65 20 77 72 69 74 |lready h|ave writ|
|000054c0| 74 65 6e 20 73 65 76 65 | 72 61 6c 20 44 6f 20 4b |ten seve|ral Do K|
|000054d0| 65 79 20 73 74 61 74 65 | 6d 65 6e 74 73 20 77 69 |ey state|ments wi|
|000054e0| 74 68 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |th the p|arameter|
|000054f0| 20 3c 5f 74 61 62 20 77 | 69 74 68 20 7b 5f 63 6d | <_tab w|ith {_cm|
|00005500| 64 7d 3e 2e 20 44 6f 6e | d5 74 20 74 68 65 79 20 |d}>. Don|.t they |
|00005510| 77 6f 72 6b 20 61 6e 79 | 6d 6f 72 65 3f 0d 44 4f |work any|more?.DO|
|00005520| 4e d5 54 20 57 4f 52 52 | 59 20 61 62 6f 75 74 20 |N.T WORR|Y about |
|00005530| 74 68 61 74 2e 20 46 6f | 72 74 75 6e 61 74 65 6c |that. Fo|rtunatel|
|00005540| 79 2c 20 44 6f 20 4b 65 | 79 20 65 76 65 6e 74 20 |y, Do Ke|y event |
|00005550| 69 73 20 61 20 68 69 67 | 68 2d 6c 65 76 65 6c 20 |is a hig|h-level |
|00005560| 65 76 65 6e 74 2e 20 54 | 68 61 74 20 6d 65 61 6e |event. T|hat mean|
|00005570| 73 2c 20 44 6f 20 4b 65 | 79 20 63 6f 6d 6d 61 6e |s, Do Ke|y comman|
|00005580| 64 20 6e 65 76 65 72 20 | 67 65 6e 65 72 61 74 65 |d never |generate|
|00005590| 73 20 61 63 74 75 61 6c | 20 6b 65 79 20 64 6f 77 |s actual| key dow|
|000055a0| 6e 20 73 6f 20 74 68 61 | 74 20 74 68 65 20 73 74 |n so tha|t the st|
|000055b0| 61 74 65 6d 65 6e 74 0d | 09 64 6f 20 6b 65 79 20 |atement.|.do key |
|000055c0| 5f 74 61 62 20 77 69 74 | 68 20 7b 5f 63 6d 64 7d |_tab wit|h {_cmd}|
|000055d0| 0d 69 73 20 73 74 69 6c | 6c 20 72 65 63 65 69 76 |.is stil|l receiv|
|000055e0| 65 64 20 61 6e 64 20 68 | 61 6e 64 6c 65 64 20 65 |ed and h|andled e|
|000055f0| 78 61 63 74 6c 79 20 62 | 79 20 51 75 6f 45 64 69 |xactly b|y QuoEdi|
|00005600| 74 20 d1 20 6e 65 76 65 | 72 20 69 6e 74 65 72 63 |t . neve|r interc|
|00005610| 65 70 74 65 64 20 62 79 | 20 4d 61 63 20 4f 53 20 |epted by| Mac OS |
|00005620| 38 2e 35 2e 20 54 68 65 | 72 65 66 6f 72 65 2c 20 |8.5. The|refore, |
|00005630| 74 68 65 20 6f 6c 64 20 | 73 63 72 69 70 74 73 20 |the old |scripts |
|00005640| 73 74 69 6c 6c 20 72 75 | 6e 20 61 73 20 65 78 70 |still ru|n as exp|
|00005650| 65 63 74 65 64 2e 0d 48 | 4f 57 45 56 45 52 2c 20 |ected..H|OWEVER, |
|00005660| 66 75 74 75 72 65 20 76 | 65 72 73 69 6f 6e 20 6f |future v|ersion o|
|00005670| 66 20 51 75 6f 45 64 69 | 74 20 6d 69 67 68 74 20 |f QuoEdi|t might |
|00005680| 6e 6f 74 20 61 63 63 65 | 70 74 20 74 68 65 20 d2 |not acce|pt the .|
|00005690| 5f 63 6d 64 d3 20 70 61 | 72 61 6d 65 74 65 72 20 |_cmd. pa|rameter |
|000056a0| 66 6f 72 20 6d 6f 76 69 | 6e 67 20 61 72 6f 75 6e |for movi|ng aroun|
|000056b0| 64 20 74 61 62 73 2e 20 | 49 66 20 79 6f 75 72 20 |d tabs. |If your |
|000056c0| 69 6d 70 6f 72 74 61 6e | 74 20 73 63 72 69 70 74 |importan|t script|
|000056d0| 73 20 63 6f 6e 74 61 69 | 6e 20 44 6f 20 4b 65 79 |s contai|n Do Key|
|000056e0| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 77 69 74 68 | stateme|nts with|
|000056f0| 20 d2 5f 63 6d 64 d3 20 | 61 6e 64 20 d2 5f 74 61 | ._cmd. |and ._ta|
|00005700| 62 d3 20 63 6f 6d 62 69 | 6e 61 74 69 6f 6e 2c 20 |b. combi|nation, |
|00005710| 6d 6f 64 69 66 79 69 6e | 67 20 69 74 20 69 73 20 |modifyin|g it is |
|00005720| 72 65 63 6f 6d 6d 65 6e | 64 65 64 2e 0d 0d 32 2e |recommen|ded...2.|
|00005730| 31 33 20 20 54 72 61 6e | 73 6c 69 74 65 72 61 74 |13 Tran|sliterat|
|00005740| 65 0d 43 6f 6e 76 65 72 | 74 73 20 63 68 61 72 61 |e.Conver|ts chara|
|00005750| 63 74 65 72 73 20 74 6f | 20 74 68 65 20 73 70 65 |cters to| the spe|
|00005760| 63 69 66 69 65 64 20 6b | 69 6e 64 2e 20 57 68 65 |cified k|ind. Whe|
|00005770| 6e 20 51 75 6f 45 64 69 | 74 20 72 65 63 65 69 76 |n QuoEdi|t receiv|
|00005780| 65 73 20 74 68 69 73 20 | 65 76 65 6e 74 2c 20 69 |es this |event, i|
|00005790| 74 20 73 69 6d 70 6c 79 | 20 75 73 65 73 20 61 20 |t simply| uses a |
|000057a0| 66 75 6e 63 74 69 6f 6e | 20 69 6e 73 69 64 65 20 |function| inside |
|000057b0| 74 68 65 20 4d 61 63 20 | 4f 53 20 63 61 6c 6c 65 |the Mac |OS calle|
|000057c0| 64 20 d2 54 72 61 6e 73 | 6c 69 74 65 72 61 74 65 |d .Trans|literate|
|000057d0| 54 65 78 74 d3 2c 20 74 | 68 65 6e 20 72 65 70 6c |Text., t|hen repl|
|000057e0| 61 63 65 73 20 74 68 65 | 20 73 70 65 63 69 66 69 |aces the| specifi|
|000057f0| 65 64 20 74 65 78 74 20 | 77 69 74 68 20 74 68 65 |ed text |with the|
|00005800| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 73 75 6c 74 | functio|n result|
|00005810| 20 74 65 78 74 2e 0d 0d | 32 2e 31 33 2e 31 20 20 | text...|2.13.1 |
|00005820| 50 61 72 61 6d 65 74 65 | 72 73 0d 41 73 20 66 6f |Paramete|rs.As fo|
|00005830| 72 20 74 68 65 20 64 69 | 72 65 63 74 20 70 61 72 |r the di|rect par|
|00005840| 61 6d 65 74 65 72 2c 20 | 6f 6e 6c 79 20 61 20 72 |ameter, |only a r|
|00005850| 65 66 65 72 65 6e 63 65 | 20 74 6f 20 74 65 78 74 |eference| to text|
|00005860| 20 6f 62 6a 65 63 74 28 | 73 29 20 69 6e 20 74 68 | object(|s) in th|
|00005870| 65 20 64 6f 63 75 6d 65 | 6e 74 20 69 73 20 61 76 |e docume|nt is av|
|00005880| 61 69 6c 61 62 6c 65 2e | 20 4e 6f 74 65 20 74 68 |ailable.| Note th|
|00005890| 61 74 20 51 75 6f 45 64 | 69 74 20 64 6f 65 73 20 |at QuoEd|it does |
|000058a0| 6e 6f 74 20 63 68 65 63 | 6b 20 74 68 65 20 6c 65 |not chec|k the le|
|000058b0| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 73 70 65 63 |ngth of |the spec|
|000058c0| 69 66 69 65 64 20 74 65 | 78 74 20 74 68 6f 75 67 |ified te|xt thoug|
|000058d0| 68 20 74 68 65 20 6d 61 | 78 20 74 65 78 74 20 6c |h the ma|x text l|
|000058e0| 65 6e 67 74 68 20 74 68 | 61 74 20 74 68 65 20 54 |ength th|at the T|
|000058f0| 72 61 6e 73 6c 69 74 65 | 72 61 74 65 54 65 78 74 |ranslite|rateText|
|00005900| 20 66 75 6e 63 74 69 6f | 6e 20 63 61 6e 20 74 72 | functio|n can tr|
|00005910| 65 61 74 20 69 73 20 36 | 35 35 33 35 20 62 79 74 |eat is 6|5535 byt|
|00005920| 65 73 20 28 69 6e 20 6d | 79 20 74 65 73 74 29 2e |es (in m|y test).|
|00005930| 0d 0d 46 6f 6c 6c 6f 77 | 69 6e 67 73 20 61 72 65 |..Follow|ings are|
|00005940| 20 63 6f 6e 73 74 61 6e | 74 73 20 66 6f 72 20 74 | constan|ts for t|
|00005950| 68 65 20 70 61 72 61 6d | 65 74 65 72 73 20 74 68 |he param|eters th|
|00005960| 61 74 20 73 70 65 63 69 | 66 79 20 6f 72 69 67 69 |at speci|fy origi|
|00005970| 6e 61 6c 20 74 65 78 74 | 20 6b 69 6e 64 73 20 61 |nal text| kinds a|
|00005980| 6e 64 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 74 |nd desti|nation t|
|00005990| 65 78 74 20 6b 69 6e 64 | 2e 0d 09 66 6f 72 20 61 |ext kind|...for a|
|000059a0| 6c 6c 20 73 63 72 69 70 | 74 20 73 79 73 74 65 6d |ll scrip|t system|
|000059b0| 73 0d 09 09 52 6f 6d 61 | 6e 09 09 52 6f 6d 61 6e |s...Roma|n..Roman|
|000059c0| 20 74 65 78 74 0d 09 09 | 6e 61 74 69 76 65 09 09 | text...|native..|
|000059d0| 74 65 78 74 20 6e 61 74 | 69 76 65 20 74 6f 20 63 |text nat|ive to c|
|000059e0| 75 72 72 65 6e 74 20 73 | 63 72 69 70 74 0d 09 66 |urrent s|cript..f|
|000059f0| 6f 72 20 61 6c 6c 20 32 | 2d 62 79 74 65 20 73 63 |or all 2|-byte sc|
|00005a00| 72 69 70 74 73 0d 09 09 | 52 6f 6d 61 6e 31 09 09 |ripts...|Roman1..|
|00005a10| 31 2d 62 79 74 65 20 52 | 6f 6d 61 6e 20 74 65 78 |1-byte R|oman tex|
|00005a20| 74 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |t corres|ponding |
|00005a30| 74 6f 20 52 6f 6d 61 6e | 32 0d 09 09 52 6f 6d 61 |to Roman|2...Roma|
|00005a40| 6e 32 09 09 32 2d 62 79 | 74 65 20 52 6f 6d 61 6e |n2..2-by|te Roman|
|00005a50| 20 74 65 78 74 20 63 6f | 72 72 65 73 70 6f 6e 64 | text co|rrespond|
|00005a60| 69 6e 67 20 74 6f 20 52 | 6f 6d 61 6e 31 0d 09 66 |ing to R|oman1..f|
|00005a70| 6f 72 20 4a 61 70 61 6e | 65 73 65 0d 09 09 4b 61 |or Japan|ese...Ka|
|00005a80| 74 61 6b 61 6e 61 31 09 | 31 2d 62 79 74 65 20 4b |takana1.|1-byte K|
|00005a90| 61 74 61 6b 61 6e 61 20 | 74 65 78 74 0d 09 09 4b |atakana |text...K|
|00005aa0| 61 74 61 6b 61 6e 61 09 | 09 32 2d 62 79 74 65 20 |atakana.|.2-byte |
|00005ab0| 4b 61 74 61 6b 61 6e 61 | 20 74 65 78 74 0d 09 09 |Katakana| text...|
|00005ac0| 48 69 72 61 67 61 6e 61 | 09 09 32 2d 62 79 74 65 |Hiragana|..2-byte|
|00005ad0| 20 48 69 72 61 67 61 6e | 61 20 74 65 78 74 0d 09 | Hiragan|a text..|
|00005ae0| 66 6f 72 20 4b 6f 72 65 | 61 6e 0d 09 09 48 61 6e |for Kore|an...Han|
|00005af0| 67 75 6c 09 09 32 2d 62 | 79 74 65 20 48 61 6e 67 |gul..2-b|yte Hang|
|00005b00| 75 6c 20 74 65 78 74 0d | 09 09 4a 61 6d 6f 09 09 |ul text.|..Jamo..|
|00005b10| 32 2d 62 79 74 65 20 4a | 61 6d 6f 20 74 65 78 74 |2-byte J|amo text|
|00005b20| 0d 09 66 6f 72 20 74 72 | 61 64 69 74 69 6f 6e 61 |..for tr|aditiona|
|00005b30| 6c 20 43 68 69 6e 65 73 | 65 0d 09 09 42 6f 70 6f |l Chines|e...Bopo|
|00005b40| 6d 6f 66 6f 09 09 32 2d | 62 79 74 65 20 5a 68 75 |mofo..2-|byte Zhu|
|00005b50| 79 69 6e 66 75 68 61 6f | 20 74 65 78 74 0d 0d 32 |yinfuhao| text..2|
|00005b60| 2e 31 33 2e 32 20 20 42 | 75 67 73 0d 32 2e 31 33 |.13.2 B|ugs.2.13|
|00005b70| 2e 32 2e 31 20 20 31 2d | 62 79 74 65 20 3c d1 3e |.2.1 1-|byte <.>|
|00005b80| 20 32 2d 62 79 74 65 0d | 43 75 72 72 65 6e 74 6c | 2-byte.|Currentl|
|00005b90| 79 2c 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 6f 66 |y, conve|rsion of|
|00005ba0| 20 31 2d 62 79 74 65 20 | 3c d1 3e 20 32 2d 62 79 | 1-byte |<.> 2-by|
|00005bb0| 74 65 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 69 6e |te conve|rsion in|
|00005bc0| 20 43 68 69 6e 65 73 65 | 20 61 6e 64 20 4b 6f 72 | Chinese| and Kor|
|00005bd0| 65 61 6e 20 74 65 78 74 | 20 28 61 6e 64 20 66 6f |ean text| (and fo|
|00005be0| 72 20 73 70 61 63 65 20 | 63 68 61 72 61 63 74 65 |r space |characte|
|00005bf0| 72 73 20 69 6e 20 4a 61 | 70 61 6e 65 73 65 20 74 |rs in Ja|panese t|
|00005c00| 65 78 74 20 69 6e 20 74 | 68 65 20 6f 6c 64 65 72 |ext in t|he older|
|00005c10| 20 73 79 73 74 65 6d 73 | 29 20 61 72 65 20 6e 6f | systems|) are no|
|00005c20| 74 20 70 65 72 66 65 63 | 74 2e 20 49 74 20 69 73 |t perfec|t. It is|
|00005c30| 20 70 72 6f 62 61 62 6c | 79 20 70 72 6f 62 6c 65 | probabl|y proble|
|00005c40| 6d 20 6f 66 20 72 65 73 | 6f 75 72 63 65 73 20 75 |m of res|ources u|
|00005c50| 73 65 64 20 62 79 20 74 | 68 65 20 54 72 61 6e 73 |sed by t|he Trans|
|00005c60| 6c 69 74 65 72 61 74 65 | 54 65 78 74 20 66 75 6e |literate|Text fun|
|00005c70| 63 74 69 6f 6e 2e 20 41 | 20 62 75 67 20 72 65 70 |ction. A| bug rep|
|00005c80| 6f 72 74 20 6f 6e 20 74 | 68 69 73 20 69 73 73 75 |ort on t|his issu|
|00005c90| 65 20 77 61 73 20 73 75 | 62 6d 69 74 74 65 64 20 |e was su|bmitted |
|00005ca0| 74 6f 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |to Apple| Compute|
|00005cb0| 72 20 28 72 65 71 75 65 | 73 74 69 6e 67 20 70 61 |r (reque|sting pa|
|00005cc0| 74 63 68 20 70 72 6f 67 | 72 61 6d 29 2e 0d 0d 32 |tch prog|ram)...2|
|00005cd0| 2e 31 33 2e 32 2e 32 20 | 20 4a 61 6d 6f 20 3c d1 |.13.2.2 | Jamo <.|
|00005ce0| 3e 20 48 61 6e 67 75 6c | 0d 49 6e 20 6e 65 77 65 |> Hangul|.In newe|
|00005cf0| 72 20 73 79 73 74 65 6d | 73 2c 20 0d 09 4a 61 6d |r system|s, ..Jam|
|00005d00| 6f 20 d1 3e 20 48 61 6e | 67 75 6c 20 63 6f 6e 76 |o .> Han|gul conv|
|00005d10| 65 72 73 69 6f 6e 20 72 | 65 73 75 6c 74 73 20 69 |ersion r|esults i|
|00005d20| 6e 20 61 62 73 6f 6c 75 | 74 65 6c 79 20 77 72 6f |n absolu|tely wro|
|00005d30| 6e 67 20 63 68 61 72 61 | 63 74 65 72 73 0d 09 48 |ng chara|cters..H|
|00005d40| 61 6e 67 75 6c 20 d1 3e | 20 4a 61 6d 6f 20 63 6f |angul .>| Jamo co|
|00005d50| 6e 76 65 72 73 69 6f 6e | 20 72 65 73 75 6c 74 73 |nversion| results|
|00005d60| 20 69 6e 20 69 6e 66 69 | 6e 69 74 65 20 6c 6f 6f | in infi|nite loo|
|00005d70| 70 0d 77 68 69 6c 65 20 | 6f 6c 64 65 72 20 73 79 |p.while |older sy|
|00005d80| 73 74 65 6d 73 20 77 69 | 74 68 20 74 68 65 20 4b |stems wi|th the K|
|00005d90| 6f 72 65 61 6e 20 4c 61 | 6e 67 75 61 67 65 20 4b |orean La|nguage K|
|00005da0| 69 74 20 6e 65 76 65 72 | 20 68 61 64 20 73 75 63 |it never| had suc|
|00005db0| 68 20 61 20 70 72 6f 62 | 6c 65 6d 20 28 61 73 20 |h a prob|lem (as |
|00005dc0| 6c 6f 6e 67 20 61 73 20 | 49 20 72 65 6d 65 6d 62 |long as |I rememb|
|00005dd0| 65 72 29 2e 20 41 20 62 | 75 67 20 72 65 70 6f 72 |er). A b|ug repor|
|00005de0| 74 20 6f 6e 20 74 68 69 | 73 20 69 73 73 75 65 20 |t on thi|s issue |
|00005df0| 77 61 73 20 73 75 62 6d | 69 74 74 65 64 20 74 6f |was subm|itted to|
|00005e00| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2e | Apple C|omputer.|
|00005e10| 0d 4f 6e 20 74 68 65 20 | 6f 74 68 65 72 20 68 61 |.On the |other ha|
|00005e20| 6e 64 2c 20 63 6f 6e 76 | 65 72 73 69 6f 6e 73 20 |nd, conv|ersions |
|00005e30| 6f 66 20 52 6f 6d 61 6e | 20 3c d1 3e 20 4a 61 6d |of Roman| <.> Jam|
|00005e40| 6f 20 68 61 76 65 20 6e | 6f 20 70 72 6f 62 6c 65 |o have n|o proble|
|00005e50| 6d 2e 0d 59 6f 75 20 63 | 61 6e 6e 6f 74 20 64 6f |m..You c|annot do|
|00005e60| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 20 6f 66 20 48 | convers|ion of H|
|00005e70| 61 6e 67 75 6c 20 3c d1 | 3e 20 52 6f 6d 61 6e 20 |angul <.|> Roman |
|00005e80| 64 69 72 65 63 74 6c 79 | 2e 20 54 68 61 74 20 69 |directly|. That i|
|00005e90| 73 20 61 20 64 65 73 69 | 67 6e 65 64 20 62 65 68 |s a desi|gned beh|
|00005ea0| 61 76 69 6f 72 20 72 61 | 74 68 65 72 20 74 68 61 |avior ra|ther tha|
|00005eb0| 6e 20 61 20 62 75 67 2e | 0d 0d 32 2e 31 34 20 20 |n a bug.|..2.14 |
|00005ec0| 43 6f 6d 70 69 6c 65 0d | 43 6f 6d 70 69 6c 65 73 |Compile.|Compiles|
|00005ed0| 20 73 6f 75 72 63 65 20 | 74 65 78 74 20 61 73 20 | source |text as |
|00005ee0| 61 20 65 78 65 63 75 74 | 61 62 6c 65 20 73 63 72 |a execut|able scr|
|00005ef0| 69 70 74 20 61 6e 64 20 | 72 65 74 75 72 6e 73 20 |ipt and |returns |
|00005f00| 61 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |a refere|nce to t|
|00005f10| 68 65 20 63 6f 6d 70 69 | 6c 65 64 20 73 63 72 69 |he compi|led scri|
|00005f20| 70 74 20 6f 62 6a 65 63 | 74 2e 0d 49 74 20 63 61 |pt objec|t..It ca|
|00005f30| 6e 20 63 6f 6d 70 69 6c | 65 20 6a 75 73 74 20 74 |n compil|e just t|
|00005f40| 65 78 74 20 69 6e 20 61 | 20 64 6f 63 75 6d 65 6e |ext in a| documen|
|00005f50| 74 2e 20 57 68 65 74 68 | 65 72 20 74 68 65 20 74 |t. Wheth|er the t|
|00005f60| 65 78 74 20 69 73 20 70 | 61 72 74 69 61 6c 20 6f |ext is p|artial o|
|00005f70| 72 20 65 6e 74 69 72 65 | 2c 20 74 68 65 20 72 65 |r entire|, the re|
|00005f80| 73 75 6c 74 20 76 61 6c | 75 65 20 69 73 20 74 79 |sult val|ue is ty|
|00005f90| 70 69 63 61 6c 6c 79 20 | 69 6e 20 66 6f 72 6d 61 |pically |in forma|
|00005fa0| 74 20 6f 66 20 d4 73 63 | 72 69 70 74 20 31 20 6f |t of .sc|ript 1 o|
|00005fb0| 66 20 64 6f 63 75 6d 65 | 6e 74 20 2e 2e 2e d5 2e |f docume|nt .....|
|00005fc0| 20 54 68 65 20 63 6f 6d | 70 69 6c 65 64 20 73 63 | The com|piled sc|
|00005fd0| 72 69 70 74 20 69 73 20 | 61 76 61 69 6c 61 62 6c |ript is |availabl|
|00005fe0| 65 20 75 6e 74 69 6c 20 | 74 68 65 20 63 6f 6e 74 |e until |the cont|
|00005ff0| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 64 6f 63 75 |ents of |the docu|
|00006000| 6d 65 6e 74 20 69 73 20 | 6d 6f 64 69 66 69 65 64 |ment is |modified|
|00006010| 20 28 65 64 69 74 65 64 | 29 20 61 67 61 69 6e 2e | (edited|) again.|
|00006020| 0d 54 68 65 72 65 20 69 | 73 20 6e 6f 20 6d 61 74 |.There i|s no mat|
|00006030| 74 65 72 20 77 68 65 74 | 68 65 72 20 74 68 65 20 |ter whet|her the |
|00006040| 65 64 69 74 20 74 79 70 | 65 20 6f 66 20 74 68 65 |edit typ|e of the|
|00006050| 20 64 6f 63 75 6d 65 6e | 74 20 69 73 20 74 65 78 | documen|t is tex|
|00006060| 74 20 6f 72 20 73 63 72 | 69 70 74 2e 20 28 57 68 |t or scr|ipt. (Wh|
|00006070| 65 6e 20 63 6f 6d 70 69 | 6c 65 64 20 66 69 72 73 |en compi|led firs|
|00006080| 74 20 74 69 6d 65 20 66 | 72 6f 6d 20 74 65 78 74 |t time f|rom text|
|00006090| 20 65 64 69 74 69 6e 67 | 20 64 6f 63 75 6d 65 6e | editing| documen|
|000060a0| 74 2c 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |t, the c|urrent s|
|000060b0| 63 72 69 70 74 69 6e 67 | 20 63 6f 6d 70 6f 6e 65 |cripting| compone|
|000060c0| 6e 74 20 62 79 20 77 68 | 69 63 68 20 79 6f 75 72 |nt by wh|ich your|
|000060d0| 20 74 61 73 6b 20 73 65 | 71 75 65 6e 63 65 20 69 | task se|quence i|
|000060e0| 73 20 72 65 63 6f 72 64 | 65 64 2c 20 75 73 75 61 |s record|ed, usua|
|000060f0| 6c 6c 79 20 41 70 70 6c | 65 53 63 72 69 70 74 2c |lly Appl|eScript,|
|00006100| 20 69 73 20 74 6f 20 62 | 65 20 75 73 65 64 2e 29 | is to b|e used.)|
|00006110| 0d 0d 32 2e 31 35 20 20 | 47 65 74 20 50 72 6f 70 |..2.15 |Get Prop|
|00006120| 73 0d 54 6f 20 67 65 74 | 20 61 20 52 65 63 6f 72 |s.To get| a Recor|
|00006130| 64 20 6f 72 20 4c 69 73 | 74 20 6f 66 20 70 72 6f |d or Lis|t of pro|
|00006140| 70 65 72 74 69 65 73 20 | 6f 66 20 61 6e 20 6f 62 |perties |of an ob|
|00006150| 6a 65 63 74 2c 20 75 73 | 75 61 6c 6c 79 20 79 6f |ject, us|ually yo|
|00006160| 75 20 63 61 6e 20 77 72 | 69 74 65 20 73 74 61 74 |u can wr|ite stat|
|00006170| 65 6d 65 6e 74 73 20 6c | 69 6b 65 20 74 68 65 20 |ements l|ike the |
|00006180| 66 6f 6c 6c 6f 77 69 6e | 67 73 20 66 6f 72 20 65 |followin|gs for e|
|00006190| 78 61 6d 70 6c 65 2e 0d | 0d 2d 2d 20 74 6f 20 67 |xample..|.-- to g|
|000061a0| 65 74 20 61 20 72 65 63 | 6f 72 64 20 6f 66 20 74 |et a rec|ord of t|
|000061b0| 68 65 20 70 72 6f 70 65 | 72 74 69 65 73 0d 09 7b |he prope|rties..{|
|000061c0| 62 6f 75 6e 64 73 3a 20 | 62 6f 75 6e 64 73 2c 20 |bounds: |bounds, |
|000061d0| 66 6f 6e 74 3a 20 66 6f | 6e 74 2c 20 73 69 7a 65 |font: fo|nt, size|
|000061e0| 3a 20 73 69 7a 65 7d 20 | 6f 66 20 64 6f 63 75 6d |: size} |of docum|
|000061f0| 65 6e 74 20 31 0d 0d 2d | 2d 20 74 6f 20 67 65 74 |ent 1..-|- to get|
|00006200| 20 61 20 6c 69 73 74 20 | 6f 66 20 74 68 65 20 70 | a list |of the p|
|00006210| 72 6f 70 65 72 74 69 65 | 73 0d 09 7b 62 6f 75 6e |ropertie|s..{boun|
|00006220| 64 73 2c 20 66 6f 6e 74 | 2c 20 73 69 7a 65 7d 20 |ds, font|, size} |
|00006230| 6f 66 20 64 6f 63 75 6d | 65 6e 74 20 31 0d 0d 42 |of docum|ent 1..B|
|00006240| 75 74 20 69 6e 20 74 68 | 65 73 65 20 63 61 73 65 |ut in th|ese case|
|00006250| 73 2c 20 74 68 72 65 65 | 20 74 69 6d 65 73 20 6f |s, three| times o|
|00006260| 66 20 47 65 74 20 65 76 | 65 6e 74 73 20 61 72 65 |f Get ev|ents are|
|00006270| 20 67 65 6e 65 72 61 74 | 65 64 20 62 79 20 41 70 | generat|ed by Ap|
|00006280| 70 6c 65 53 63 72 69 70 | 74 2c 20 74 68 61 74 20 |pleScrip|t, that |
|00006290| 69 73 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |is the n|umber of|
|000062a0| 20 74 68 65 20 64 65 73 | 69 72 65 64 20 70 72 6f | the des|ired pro|
|000062b0| 70 65 72 74 69 65 73 2e | 20 28 53 65 65 20 74 68 |perties.| (See th|
|000062c0| 65 20 65 76 65 6e 74 20 | 6c 6f 67 2e 29 0d 48 65 |e event |log.).He|
|000062d0| 72 65 2c 20 47 65 74 20 | 50 72 6f 70 73 20 63 6f |re, Get |Props co|
|000062e0| 6d 6d 61 6e 64 20 69 73 | 20 64 65 73 69 67 6e 65 |mmand is| designe|
|000062f0| 64 20 74 6f 20 64 6f 20 | 74 68 61 74 20 77 69 74 |d to do |that wit|
|00006300| 68 20 6a 75 73 74 20 6f | 6e 65 20 41 70 70 6c 65 |h just o|ne Apple|
|00006310| 20 65 76 65 6e 74 2e 20 | 43 61 6c 6c 20 69 74 20 | event. |Call it |
|00006320| 6c 69 6b 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |like the| followi|
|00006330| 6e 67 73 20 28 69 66 20 | 79 6f 75 20 77 69 73 68 |ngs (if |you wish|
|00006340| 20 74 6f 20 6d 61 6b 65 | 20 74 68 65 20 73 63 72 | to make| the scr|
|00006350| 69 70 74 20 66 61 73 74 | 65 72 20 65 76 65 6e 20 |ipt fast|er even |
|00006360| 73 6c 69 67 68 74 6c 79 | 29 2e 0d 0d 2d 2d 20 74 |slightly|)...-- t|
|00006370| 6f 20 67 65 74 20 61 20 | 72 65 63 6f 72 64 20 6f |o get a |record o|
|00006380| 66 20 74 68 65 20 70 72 | 6f 70 65 72 74 69 65 73 |f the pr|operties|
|00006390| 0d 09 67 65 74 20 70 72 | 6f 70 73 20 6f 66 20 64 |..get pr|ops of d|
|000063a0| 6f 63 75 6d 65 6e 74 20 | 31 20 61 62 6f 75 74 20 |ocument |1 about |
|000063b0| 7b 62 6f 75 6e 64 73 3a | 30 2c 20 66 6f 6e 74 3a |{bounds:|0, font:|
|000063c0| 30 2c 20 73 69 7a 65 3a | 30 7d 0d 0d 2d 2d 20 74 |0, size:|0}..-- t|
|000063d0| 6f 20 67 65 74 20 61 20 | 6c 69 73 74 20 6f 66 20 |o get a |list of |
|000063e0| 74 68 65 20 70 72 6f 70 | 65 72 74 69 65 73 0d 09 |the prop|erties..|
|000063f0| 67 65 74 20 70 72 6f 70 | 73 20 6f 66 20 64 6f 63 |get prop|s of doc|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.